From 6b1b2dc9e07c5c8431830541c996507093876618 Mon Sep 17 00:00:00 2001 From: Shoaibdev7 Date: Sat, 12 Oct 2024 18:33:36 +0500 Subject: [PATCH] fix(test): test --- src/components/App/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/App/index.tsx b/src/components/App/index.tsx index a3199187c..ee062b73b 100644 --- a/src/components/App/index.tsx +++ b/src/components/App/index.tsx @@ -322,10 +322,10 @@ export const App = () => { }, [runningProjectId, setRunningProjectMessages]) useEffect(() => { - if (!splashDataLoading) { + if (!chatInterfaceFeatureFlag && !splashDataLoading) { setUniverseQuestionIsOpen() } - }, [setUniverseQuestionIsOpen, splashDataLoading]) + }, [setUniverseQuestionIsOpen, splashDataLoading, chatInterfaceFeatureFlag]) return ( <> @@ -340,7 +340,7 @@ export const App = () => { - {!universeQuestionIsOpen && } + {!chatInterfaceFeatureFlag && !universeQuestionIsOpen && }