Skip to content

Commit

Permalink
fix(test): test
Browse files Browse the repository at this point in the history
  • Loading branch information
Shoaibdev7 committed Oct 12, 2024
1 parent bfbbb10 commit 6b1b2dc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/App/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -322,10 +322,10 @@ export const App = () => {
}, [runningProjectId, setRunningProjectMessages])

useEffect(() => {
if (!splashDataLoading) {
if (!chatInterfaceFeatureFlag && !splashDataLoading) {
setUniverseQuestionIsOpen()
}
}, [setUniverseQuestionIsOpen, splashDataLoading])
}, [setUniverseQuestionIsOpen, splashDataLoading, chatInterfaceFeatureFlag])

return (
<>
Expand All @@ -340,7 +340,7 @@ export const App = () => {
<Wrapper direction="row">
<FormProvider {...form}>
<LazyMainToolbar />
{!universeQuestionIsOpen && <LazySideBar />}
{!chatInterfaceFeatureFlag && !universeQuestionIsOpen && <LazySideBar />}
<LazyUniverse />
<Overlay />
<AppBar />
Expand Down

0 comments on commit 6b1b2dc

Please sign in to comment.