diff options
Diffstat (limited to 'src/state/session/index.tsx')
-rw-r--r-- | src/state/session/index.tsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/state/session/index.tsx b/src/state/session/index.tsx index ab3352bf3..48b258863 100644 --- a/src/state/session/index.tsx +++ b/src/state/session/index.tsx @@ -6,7 +6,6 @@ import {isWeb} from '#/platform/detection' import * as persisted from '#/state/persisted' import {useCloseAllActiveElements} from '#/state/util' import {useGlobalDialogsControlContext} from '#/components/dialogs/Context' -import {IS_DEV} from '#/env' import {emitSessionDropped} from '../events' import { agentToSessionAccount, @@ -260,7 +259,7 @@ export function Provider({children}: React.PropsWithChildren<{}>) { ) // @ts-ignore - if (IS_DEV && isWeb) window.agent = state.currentAgentState.agent + if (__DEV__ && isWeb) window.agent = state.currentAgentState.agent const agent = state.currentAgentState.agent as BskyAppAgent const currentAgentRef = React.useRef(agent) |