diff options
Diffstat (limited to 'src/storage')
-rw-r--r-- | src/storage/index.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/storage/index.ts b/src/storage/index.ts index 7ef226d3a..ce17d4c36 100644 --- a/src/storage/index.ts +++ b/src/storage/index.ts @@ -1,6 +1,5 @@ import {MMKV} from 'react-native-mmkv' -import {IS_DEV} from '#/env' import {Device} from '#/storage/schema' export * from '#/storage/schema' @@ -74,7 +73,7 @@ export class Storage<Scopes extends unknown[], Schema> { */ export const device = new Storage<[], Device>({id: 'bsky_device'}) -if (IS_DEV && typeof window !== 'undefined') { +if (__DEV__ && typeof window !== 'undefined') { // @ts-ignore window.bsky_storage = { device, |