diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-06-15 17:40:18 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-06-15 17:40:18 -0500 |
commit | 77b938845aa909a70f896b759b04ba7c1b1d9aa6 (patch) | |
tree | 0d5f65c3efa2c7702f4c5eee024248b73ec36f07 /src/state/env.ts | |
parent | b2dd8d4f440243ac2eb12e7013d5a024b4e95f07 (diff) | |
download | voidsky-77b938845aa909a70f896b759b04ba7c1b1d9aa6.tar.zst |
Polyfills for native crypto
Diffstat (limited to 'src/state/env.ts')
-rw-r--r-- | src/state/env.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/state/env.ts b/src/state/env.ts index f47a7037f..c1e11ebd0 100644 --- a/src/state/env.ts +++ b/src/state/env.ts @@ -4,17 +4,17 @@ */ import {getEnv, IStateTreeNode} from 'mobx-state-tree' -import * as auth from '@adxp/auth' +import {ReactNativeStore} from './auth' import {API} from '../api' export class Environment { api = new API() - authStore?: auth.BrowserStore + authStore?: ReactNativeStore constructor() {} async setup() { - this.authStore = await auth.BrowserStore.load() + this.authStore = await ReactNativeStore.load() } } |