From 6e04a743f3ed0afa3f1e31e1d173c2c62f88d625 Mon Sep 17 00:00:00 2001 From: Jan Keromnes Date: Thu, 1 Apr 2021 10:48:19 +0200 Subject: [PATCH] [dashboard] Fix infinite loop of getLoggedInUser requests Fixes https://github.com/gitpod-io/gitpod/pull/3680#discussion_r605359347 --- components/dashboard/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/dashboard/src/App.tsx b/components/dashboard/src/App.tsx index 9726ecad52a635..b81c7ffef9df73 100644 --- a/components/dashboard/src/App.tsx +++ b/components/dashboard/src/App.tsx @@ -46,7 +46,7 @@ function App() { } setLoading(false); })(); - }, [ setUser ]); + }, []); if (loading) { return