From 7423bbbffc5bee2e52e3348254f035dc8527d973 Mon Sep 17 00:00:00 2001 From: Gauthier Date: Thu, 22 Aug 2024 14:46:06 +0200 Subject: [PATCH] fix(setup): page display when homepage is loading (#940) * fix: remove an unwanted display of the setup page while the homepage is loading * fix: edit incorrect return type of setup page --- src/components/Setup/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/Setup/index.tsx b/src/components/Setup/index.tsx index 936114671..684b01adc 100644 --- a/src/components/Setup/index.tsx +++ b/src/components/Setup/index.tsx @@ -100,6 +100,8 @@ const Setup = () => { router, ]); + if (settings.currentSettings.initialized) return <>; + return (