Skip to content

Commit

Permalink
fix(ai-chat): ai screen on default part of feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Shoaibdev7 committed Oct 12, 2024
1 parent 99196c3 commit 8eb54da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
"functions": 36
},
"./src/network/": {
"lines": 29,
"lines": 30,
"branches": 9,
"functions": 18
}
Expand Down
8 changes: 4 additions & 4 deletions src/components/App/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Socket } from 'socket.io-client'
import styled from 'styled-components'
import { Flex } from '~/components/common/Flex'
import { GlobalStyle } from '~/components/GlobalStyle'
import { Overlay } from '~/components/Universe/Overlay' // Import Overlay directly
import { Overlay } from '~/components/Universe/Overlay'; // Import Overlay directly
import { isDevelopment } from '~/constants'
import { useSocket } from '~/hooks/useSockets'
import { useAiSummaryStore } from '~/stores/useAiSummaryStore'
Expand Down Expand Up @@ -336,11 +336,11 @@ export const App = () => {
<Leva hidden={!isDevelopment} />

<Suspense fallback={<div>Loading...</div>}>
{!splashDataLoading && chatInterfaceFeatureFlag ? (
{!splashDataLoading ? (
<Wrapper direction="row">
<FormProvider {...form}>
<LazyMainToolbar />
{!universeQuestionIsOpen && <LazySideBar />}
{chatInterfaceFeatureFlag && !universeQuestionIsOpen && <LazySideBar />}
<LazyUniverse />
<Overlay />
<AppBar />
Expand All @@ -355,4 +355,4 @@ export const App = () => {
</Suspense>
</>
)
}
}

0 comments on commit 8eb54da

Please sign in to comment.