Unblock React Compiler for 13 components by hoisting finally blocks (#11540)
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -54,9 +54,8 @@ export function useAccountSwitcher() {
|
||||
Toast.show(_(msg`Please sign in as @${account.handle}`), {
|
||||
type: 'warning',
|
||||
})
|
||||
} finally {
|
||||
setPendingDid(null)
|
||||
}
|
||||
setPendingDid(null)
|
||||
},
|
||||
[_, ax, resumeSession, requestSwitchToAccount, pendingDid],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user