Skip to content

Commit

Permalink
remove action from deps array
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloud11PL committed Feb 26, 2025
1 parent d6ebe85 commit b8bed1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/useIntervalActionWithState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ export const useIntervalActionWithState = ({
}

return cleanup;
}, [lastInvocation, action, interval, key, setLastInvocation, skip]);
}, [lastInvocation, interval, key, setLastInvocation, skip]);
};

0 comments on commit b8bed1c

Please sign in to comment.