about summary refs log tree commit diff
path: root/src/state/session/types.ts
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-05-02 18:17:53 +0100
committerGitHub <noreply@github.com>2024-05-02 18:17:53 +0100
commit5ec945b7625a8daff3baaf76826c2f9e3c12e279 (patch)
tree0de1fcb4a7350410ef7f82760707ab4422d92021 /src/state/session/types.ts
parentdadf27fd2f417584093fb344cdacd9dbe332dade (diff)
downloadvoidsky-5ec945b7625a8daff3baaf76826c2f9e3c12e279.tar.zst
[Session] Extract resumeSession out (#3811)
Diffstat (limited to 'src/state/session/types.ts')
-rw-r--r--src/state/session/types.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/state/session/types.ts b/src/state/session/types.ts
index fbfac82e9..a2a9f8cf8 100644
--- a/src/state/session/types.ts
+++ b/src/state/session/types.ts
@@ -6,7 +6,6 @@ export type SessionAccount = PersistedAccount
 export type SessionStateContext = {
   accounts: SessionAccount[]
   currentAccount: SessionAccount | undefined
-  isInitialLoad: boolean
   isSwitchingAccounts: boolean
   hasSession: boolean
 }
@@ -46,7 +45,6 @@ export type SessionApiContext = {
    */
   clearCurrentAccount: () => void
   initSession: (account: SessionAccount) => Promise<void>
-  resumeSession: (account?: SessionAccount) => Promise<void>
   removeAccount: (account: SessionAccount) => void
   selectAccount: (
     account: SessionAccount,