Files
standardnotes-app-web/packages/mobile/src/EnvironmentContext.tsx
Vardan Hakobyan 3b4797c243 fix: mobile workspace related fixes (#1130)
* feat: put workspaces under unfinished features flag

* fix: mention that signing out will quit the app

* fix: put more affected places under features flag
2022-06-22 00:06:08 +04:00

7 lines
248 B
TypeScript

import { TEnvironment } from '@Root/App'
import React from 'react'
export const EnvironmentContext = React.createContext<TEnvironment | undefined>(undefined)
export const SafeEnvironmentContext = EnvironmentContext as React.Context<TEnvironment>