Skip to content

Commit

Permalink
chore: Fix useEffect dependency in staking.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
shibatales committed Jan 8, 2024
1 parent 2da3926 commit 13f1afc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/staking.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ const Staking = () => {
// Set a default value when there's no value in local storage
setEnableAutoRestake(true);
}
}, [enableAutoRestake]);
}, []);

useEffect(() => {
initializeData(selectedAccount);
Expand Down

0 comments on commit 13f1afc

Please sign in to comment.