fix: use a specific feature flag for workspace (#1133)
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
import { TEnvironment } from '@Root/App'
|
||||
import { EnvironmentContext } from '@Root/EnvironmentContext'
|
||||
import { useContext } from 'react'
|
||||
|
||||
export const useSafeEnvironmentContext = () => {
|
||||
const env = useContext(EnvironmentContext) as TEnvironment
|
||||
return env
|
||||
}
|
||||
Reference in New Issue
Block a user