diff options
author | dan <dan.abramov@gmail.com> | 2024-05-02 18:25:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-02 18:25:09 +0100 |
commit | 1a07e23192d06afd3879e89252f1bcfbb33df081 (patch) | |
tree | b3d84d07475a4a97864387025144ea67d81dd5cb /src/state/session/types.ts | |
parent | 5ec945b7625a8daff3baaf76826c2f9e3c12e279 (diff) | |
download | voidsky-1a07e23192d06afd3879e89252f1bcfbb33df081.tar.zst |
[Session] Extract selectAccount out (#3812)
Diffstat (limited to 'src/state/session/types.ts')
-rw-r--r-- | src/state/session/types.ts | 5 |
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< |