diff options
author | dan <dan.abramov@gmail.com> | 2024-05-08 23:11:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-08 23:11:39 +0100 |
commit | 0c6bf276dd43762cb36541d278f95dceb1c35896 (patch) | |
tree | a6e4ae3a3d01412c87ee1ee2c3e9d2d61f987b9c /src/state/session/types.ts | |
parent | f62b0458a742dc7e00c5ca75064718bc6fef53b7 (diff) | |
download | voidsky-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.ts | 8 |
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 } |