Skip to content

Commit b3bbd5c

Browse files
Update versioned_docs/version-5/migration.mdx
Co-authored-by: David Khourshid <[email protected]>
1 parent 01f3203 commit b3bbd5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

versioned_docs/version-5/migration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ const machine = createMachine({
787787
compoundState: {
788788
on: {
789789
someEvent: {
790-
guard: not(stateIn('compoundState.childState')),
790+
guard: not(stateIn({ compoundState: 'childState' }),
791791
target: '.childState',
792792
},
793793
},

0 commit comments

Comments
 (0)