From 2fea877af745227ab589624284c473cb224258f3 Mon Sep 17 00:00:00 2001 From: Shoaibdev7 Date: Fri, 20 Sep 2024 12:56:35 +0500 Subject: [PATCH 1/4] fix(ai-chat): ai screen on default part of feature flag --- 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 8023691f8..210da2b3a 100644 --- a/src/components/App/index.tsx +++ b/src/components/App/index.tsx @@ -238,10 +238,10 @@ export const App = () => { ]) useEffect(() => { - if (!splashDataLoading) { + if (chatInterfaceFeatureFlag && !splashDataLoading) { setUniverseQuestionIsOpen() } - }, [setUniverseQuestionIsOpen, splashDataLoading]) + }, [setUniverseQuestionIsOpen, splashDataLoading, chatInterfaceFeatureFlag]) return ( <> @@ -252,7 +252,7 @@ export const App = () => {