Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix session hydration during load

+4 -1
+1 -1
src/state/index.ts
··· 23 23 rootStore = new RootStoreModel(api) 24 24 try { 25 25 data = (await storage.load(ROOT_STATE_STORAGE_KEY)) || {} 26 + rootStore.log.debug('Initial hydrate', {hasSession: !!data.session}) 26 27 rootStore.hydrate(data) 27 28 } catch (e: any) { 28 29 rootStore.log.error('Failed to load state from storage', e) 29 30 } 30 31 31 - rootStore.log.debug('Initial hydrate') 32 32 rootStore.session 33 33 .connect() 34 34 .then(() => {
+3
src/state/models/root-store.ts
··· 88 88 if (hasProp(v, 'onboard')) { 89 89 this.onboard.hydrate(v.onboard) 90 90 } 91 + if (hasProp(v, 'session')) { 92 + this.session.hydrate(v.session) 93 + } 91 94 if (hasProp(v, 'shell')) { 92 95 this.shell.hydrate(v.shell) 93 96 }