From 2517933d285d7b98ecfeba7f20f0d904d73ba5e6 Mon Sep 17 00:00:00 2001 From: aliraza556 Date: Sun, 27 Oct 2024 13:51:18 +0500 Subject: [PATCH] fix(onboarding-flow): v3 --- src/components/App/index.tsx | 45 ++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/src/components/App/index.tsx b/src/components/App/index.tsx index 0b3a0ea39..117082abc 100644 --- a/src/components/App/index.tsx +++ b/src/components/App/index.tsx @@ -330,7 +330,7 @@ export const App = () => { }, [runningProjectId, setRunningProjectMessages]) useEffect(() => { - if (isAdmin && !appMetaData?.title && !visible) { + if (!isAdmin && appMetaData?.title && !visible) { open() } }, [isAdmin, appMetaData?.title, open, visible]) @@ -350,27 +350,28 @@ export const App = () => {