Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
christianalfoni authored May 16, 2022
1 parent 5f3e3f3 commit 88fba16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const [states, createMachine] = createStates({
BAR: () => ({}),
})

const runMachine = createMachine(states, {
const runMachine = createMachine({
FOO: {
switch: () => () => states.BAR(),
},
Expand Down

0 comments on commit 88fba16

Please sign in to comment.