From c36bf89e44cd6b941b2e975131e204b50b42120f Mon Sep 17 00:00:00 2001 From: Cedric Schwyter Date: Fri, 30 Dec 2022 15:42:10 +0100 Subject: [PATCH] fix(space):effect loop --- lumium-space/pages/spaces/[[...path]].tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lumium-space/pages/spaces/[[...path]].tsx b/lumium-space/pages/spaces/[[...path]].tsx index 4b8d4635..d37022e8 100644 --- a/lumium-space/pages/spaces/[[...path]].tsx +++ b/lumium-space/pages/spaces/[[...path]].tsx @@ -22,7 +22,7 @@ const Spaces: React.FC = () => { Router.push(AUTH_SIGNIN); } }); - }, [api, refetchUserInfo]); + }); return null; }