Skip to content

Commit

Permalink
Merge pull request #2522 from stakwork/fix/failing-cypress-test
Browse files Browse the repository at this point in the history
fix: failing cypress test due to mindset graph
  • Loading branch information
Rassl authored Dec 9, 2024
2 parents 73ca195 + 56ae223 commit a6640ea
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 a6640ea

Please sign in to comment.