Skip to content

Commit 5ccb82c

Browse files
committed
docs(system-id): fix typos in docs
1 parent 3500b16 commit 5ccb82c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/rules/system-id.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
# Suggest valid systemId for invoked or spawned actors
1+
# Suggest using systemId for invoked or spawned actors
22

33
Provide `systemId` for invoked and spawned actors to make them available in the `actor.system` registry.
44

55
## Rule Details
66

7-
Specifying a `systemId` property within `invoke` blocks, and within options passed as a second argument to `spawn` calls, will make the actor available in the `actor.system` registry.
7+
Specifying a `systemId` property within `invoke` blocks, and within options passed as the second argument to `spawn` calls, will make the actor available in the `actor.system` registry.
88

99
**The `systemId` property is supported in XState version 5 and above.**
1010

@@ -51,7 +51,7 @@ createMachine({
5151
playing: {
5252
invoke: {
5353
src: 'game',
54-
system: 'actor1',
54+
systemId: 'actor1',
5555
},
5656
entry: assign({
5757
gameRef: () => spawn(game, { systemId: 'actor1' }),

0 commit comments

Comments
 (0)