Skip to content

Commit

Permalink
Fix render loop on the dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
allgood committed May 16, 2024
1 parent 9ee829d commit d309a31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/pages/Dashboard/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ const Dashboard = () => {
setCurrentUser(user);
}
);
}, [getCurrentUserInfo]);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);

useEffect(() => {
async function firstLoad() {
Expand Down

0 comments on commit d309a31

Please sign in to comment.