Skip to content

Commit

Permalink
fix: failing cypress test due to mindset graph
Browse files Browse the repository at this point in the history
  • Loading branch information
tobi-bams committed Dec 9, 2024
1 parent 73ca195 commit 56ae223
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/AppContainer/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { lazy, Suspense } from 'react'
import { Route, Routes } from 'react-router-dom'
import { isE2E } from '~/constants'
import { E2ETests } from '~/utils'
import { AppProviders } from '../App/Providers'
import { AuthGuard } from '../Auth'
Expand All @@ -10,7 +11,7 @@ const LazyMindSet = lazy(() => import('../mindset').then(({ MindSet }) => ({ def

export const AppContainer = () => {
const isMindSetHost =
window.location?.hostname === 'graphmindset.sphinx.chat' || window.location.hostname === 'localhost'
window.location?.hostname === 'graphmindset.sphinx.chat' || (window.location.hostname === 'localhost' && !isE2E)

return (
<AppProviders>
Expand Down

0 comments on commit 56ae223

Please sign in to comment.