Skip to content

Commit

Permalink
add dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Alison Lai committed Aug 7, 2024
1 parent fe1a5a7 commit 577875c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/react/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,5 +204,5 @@ export function useActionEffect(id: string, effect: Function) {
return () => {
client.config.unregisterEffect(id);
};
}, [client, id]);
}, [client, id, effect]);
}

0 comments on commit 577875c

Please sign in to comment.