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-08 23:11:39 +0100
committerGitHub <noreply@github.com>2024-05-08 23:11:39 +0100
commit0c6bf276dd43762cb36541d278f95dceb1c35896 (patch)
treea6e4ae3a3d01412c87ee1ee2c3e9d2d61f987b9c /src/state/session/types.ts
parentf62b0458a742dc7e00c5ca75064718bc6fef53b7 (diff)
downloadvoidsky-0c6bf276dd43762cb36541d278f95dceb1c35896.tar.zst
Replace updateCurrentAccount() with refreshSession() (#3910)
Replace updateCurrentAccount() with resumeSession()
Diffstat (limited to 'src/state/session/types.ts')
-rw-r--r--src/state/session/types.ts8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/state/session/types.ts b/src/state/session/types.ts
index b74eeddcb..d43b57cca 100644
--- a/src/state/session/types.ts
+++ b/src/state/session/types.ts
@@ -37,12 +37,4 @@ export type SessionApiContext = {
   logout: (logContext: LogEvents['account:loggedOut']['logContext']) => void
   resumeSession: (account: SessionAccount) => Promise<void>
   removeAccount: (account: SessionAccount) => void
-  updateCurrentAccount: (
-    account: Partial<
-      Pick<
-        SessionAccount,
-        'handle' | 'email' | 'emailConfirmed' | 'emailAuthFactor'
-      >
-    >,
-  ) => void
 }