From 1bc33c68b633f04e5fc31b55e0fd17f09f77dd67 Mon Sep 17 00:00:00 2001 From: Beier Luo Date: Sat, 5 Jun 2021 19:53:15 +1000 Subject: [PATCH] fix: remove actions from memo dep #87 --- src/stateMachine.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stateMachine.tsx b/src/stateMachine.tsx index 6e01e60..7c4e15c 100644 --- a/src/stateMachine.tsx +++ b/src/stateMachine.tsx @@ -85,6 +85,6 @@ export function useStateMachine< : ({} as any), state, }), - [state, setState, actions], + [state, setState], ); }