Skip to content

Commit

Permalink
fix: remove actions from memo dep #87
Browse files Browse the repository at this point in the history
  • Loading branch information
bluebill1049 committed Jun 5, 2021
1 parent aff582d commit 1bc33c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stateMachine.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,6 @@ export function useStateMachine<
: ({} as any),
state,
}),
[state, setState, actions],
[state, setState],
);
}

0 comments on commit 1bc33c6

Please sign in to comment.