about summary refs log tree commit diff
path: root/src/state/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/index.ts')
-rw-r--r--src/state/index.ts4
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)) || {}