From 1a07e23192d06afd3879e89252f1bcfbb33df081 Mon Sep 17 00:00:00 2001 From: dan Date: Thu, 2 May 2024 18:25:09 +0100 Subject: [Session] Extract selectAccount out (#3812) --- src/state/session/types.ts | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/state/session/types.ts') 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 removeAccount: (account: SessionAccount) => void - selectAccount: ( - account: SessionAccount, - logContext: LogEvents['account:loggedIn']['logContext'], - ) => Promise updateCurrentAccount: ( account: Partial< Pick< -- cgit 1.4.1