Skip to content

Commit

Permalink
Merge branch 'main' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkpiano committed Jun 13, 2021
2 parents 5bc45e5 + 3b44be9 commit fb87877
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/guides/statenodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,7 @@ const timeOfDayMachine = createMachine({
}
});
const timeOfDayService = interpret(timeOfDayMachine)
.withContext({ time: Date.now() }))
const timeOfDayService = interpret(timeOfDayMachine.withContext({ time: Date.now() }))
.onTransition(state => console.log(state.value))
.start();
Expand Down

0 comments on commit fb87877

Please sign in to comment.