diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-01-26 12:36:27 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-01-26 12:36:27 -0600 |
commit | 751dfb20fd0d316da396e3c4fc53aaaaa8041dd1 (patch) | |
tree | 55c23e901903cfa19b6b9acc264df0d0637d66f0 /src/state/index.ts | |
parent | d6ec627c8cd32836e5ed494606318959ca17fca1 (diff) | |
download | voidsky-751dfb20fd0d316da396e3c4fc53aaaaa8041dd1.tar.zst |
Add web polyfills
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 78fba2ecf..654c15af7 100644 --- a/src/state/index.ts +++ b/src/state/index.ts @@ -2,7 +2,7 @@ import {autorun} from 'mobx' import {Platform} from 'react-native' import {sessionClient as AtpApi, SessionServiceClient} from '@atproto/api' import {RootStoreModel} from './models/root-store' -import * as libapi from './lib/api' +import * as apiPolyfill from './lib/api-polyfill' import * as storage from './lib/storage' export const LOCAL_DEV_SERVICE = @@ -17,7 +17,7 @@ export async function setupState(serviceUri = DEFAULT_SERVICE) { let rootStore: RootStoreModel let data: any - libapi.doPolyfill() + apiPolyfill.doPolyfill() const api = AtpApi.service(serviceUri) as SessionServiceClient rootStore = new RootStoreModel(api) |