Skip to content

Commit

Permalink
[dashboard] Fix infinite loop of getLoggedInUser requests
Browse files Browse the repository at this point in the history
  • Loading branch information
jankeromnes committed Apr 1, 2021
1 parent 6094e76 commit 09cfcfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/dashboard/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function App() {
}
setLoading(false);
})();
}, [ setUser ]);
}, []);

if (loading) {
return <Loading />
Expand Down

0 comments on commit 09cfcfb

Please sign in to comment.