diff options
author | Paul Frazee <pfrazee@gmail.com> | 2022-10-26 14:34:47 -0500 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2022-10-26 14:34:47 -0500 |
commit | 1983512fef37c5f27a048728815ae194bb24820b (patch) | |
tree | 0674298ccf9bb067457be7f77258df2556957972 /src/state/index.ts | |
parent | 349cfe7177affde7e3acae2616c6c8a2fa11b1c0 (diff) | |
download | voidsky-1983512fef37c5f27a048728815ae194bb24820b.tar.zst |
Update to latest APIs
Diffstat (limited to 'src/state/index.ts')
-rw-r--r-- | src/state/index.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/state/index.ts b/src/state/index.ts index 12b3ff181..87047721b 100644 --- a/src/state/index.ts +++ b/src/state/index.ts @@ -1,5 +1,5 @@ import {autorun} from 'mobx' -import AdxApi from '../third-party/api' +import AtpApi from '../third-party/api' import {RootStoreModel} from './models/root-store' import * as libapi from './lib/api' import * as storage from './lib/storage' @@ -17,7 +17,7 @@ export async function setupState() { libapi.doPolyfill() - const api = AdxApi.service(DEFAULT_SERVICE) + const api = AtpApi.service(DEFAULT_SERVICE) rootStore = new RootStoreModel(api) try { data = (await storage.load(ROOT_STATE_STORAGE_KEY)) || {} |