From 9c96419e3d9a318d2e3f9df29308d5f4945e0c42 Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Thu, 6 Jul 2023 17:44:32 -0700 Subject: [PATCH] fix: :children_crossing: switch account when adding existing account --- packages/client/src/account.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/src/account.ts b/packages/client/src/account.ts index 6d858292a..ea17387fa 100644 --- a/packages/client/src/account.ts +++ b/packages/client/src/account.ts @@ -162,7 +162,7 @@ export async function openAccountMenu( { done: (res) => { addAccount(res.id, res.i); - success(); + switchAccountWithToken(res.i); }, }, "closed",