about summary refs log tree commit diff
path: root/src/state/index.ts
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-11-17 14:35:12 -0600
committerPaul Frazee <pfrazee@gmail.com>2022-11-17 14:35:12 -0600
commit2b98714548d585ff14dd09252233144f48b5f4b7 (patch)
treef200f39732aad5f7da3b554f02d5f78ce96bee12 /src/state/index.ts
parent859087f21d148d52d707b0057458e7dd2cbbea0a (diff)
downloadvoidsky-2b98714548d585ff14dd09252233144f48b5f4b7.tar.zst
Add live search to autocomplete and only highlight known handles
Diffstat (limited to 'src/state/index.ts')
-rw-r--r--src/state/index.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/state/index.ts b/src/state/index.ts
index 1ff3d3b1d..fd81bc842 100644
--- a/src/state/index.ts
+++ b/src/state/index.ts
@@ -1,5 +1,6 @@
 import {autorun} from 'mobx'
 import {sessionClient as AtpApi} from '../third-party/api'
+import type {SessionServiceClient} from '../third-party/api/src/index'
 import {RootStoreModel} from './models/root-store'
 import * as libapi from './lib/api'
 import * as storage from './lib/storage'
@@ -8,7 +9,7 @@ export const IS_PROD_BUILD = true
 export const LOCAL_DEV_SERVICE = 'http://localhost:2583'
 export const STAGING_SERVICE = 'https://pds.staging.bsky.dev'
 export const PROD_SERVICE = 'https://bsky.social'
-export const DEFAULT_SERVICE = IS_PROD_BUILD ? PROD_SERVICE : LOCAL_DEV_SERVICE
+export const DEFAULT_SERVICE = PROD_SERVICE
 const ROOT_STATE_STORAGE_KEY = 'root'
 const STATE_FETCH_INTERVAL = 15e3