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:25:09 +0100
committerGitHub <noreply@github.com>2024-05-02 18:25:09 +0100
commit1a07e23192d06afd3879e89252f1bcfbb33df081 (patch)
treeb3d84d07475a4a97864387025144ea67d81dd5cb /src/state/session/types.ts
parent5ec945b7625a8daff3baaf76826c2f9e3c12e279 (diff)
downloadvoidsky-1a07e23192d06afd3879e89252f1bcfbb33df081.tar.zst
[Session] Extract selectAccount out (#3812)
Diffstat (limited to 'src/state/session/types.ts')
-rw-r--r--src/state/session/types.ts5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/state/session/types.ts b/src/state/session/types.ts
index a2a9f8cf8..b3252f777 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
-  isSwitchingAccounts: boolean
   hasSession: boolean
 }
 export type SessionApiContext = {
@@ -46,10 +45,6 @@ export type SessionApiContext = {
   clearCurrentAccount: () => void
   initSession: (account: SessionAccount) => Promise<void>
   removeAccount: (account: SessionAccount) => void
-  selectAccount: (
-    account: SessionAccount,
-    logContext: LogEvents['account:loggedIn']['logContext'],
-  ) => Promise<void>
   updateCurrentAccount: (
     account: Partial<
       Pick<