Skip to content

Commit

Permalink
fix(process): load mock process in app (#19522)
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsobrmlr authored Dec 27, 2023
1 parent e1c68da commit 398b559
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/src/scenes/App.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { actions, BindLogic, connect, events, kea, path, reducers, selectors, useMountedLogic, useValues } from 'kea'
import { MOCK_NODE_PROCESS } from 'lib/constants'
import { use3000Body } from 'lib/hooks/use3000Body'
import { ToastCloseButton } from 'lib/lemon-ui/LemonToast/LemonToast'
import { SpinnerOverlay } from 'lib/lemon-ui/Spinner/Spinner'
Expand All @@ -24,6 +25,8 @@ import type { appLogicType } from './AppType'
import { preflightLogic } from './PreflightCheck/preflightLogic'
import { teamLogic } from './teamLogic'

window.process = MOCK_NODE_PROCESS

export const appLogic = kea<appLogicType>([
path(['scenes', 'App']),
connect([teamLogic, organizationLogic, frontendAppsLogic, inAppPromptLogic, actionsModel, cohortsModel]),
Expand Down

0 comments on commit 398b559

Please sign in to comment.