diff options
Diffstat (limited to 'src/state/index.ts')
-rw-r--r-- | src/state/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state/index.ts b/src/state/index.ts index bc8a16949..5c8b50ef1 100644 --- a/src/state/index.ts +++ b/src/state/index.ts @@ -23,12 +23,12 @@ export async function setupState() { rootStore = new RootStoreModel(api) try { data = (await storage.load(ROOT_STATE_STORAGE_KEY)) || {} + rootStore.log.debug('Initial hydrate', {hasSession: !!data.session}) rootStore.hydrate(data) } catch (e: any) { rootStore.log.error('Failed to load state from storage', e) } - rootStore.log.debug('Initial hydrate') rootStore.session .connect() .then(() => { |