From 804dc5aa7fefb12241de5c76e50da9324ed31713 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?nicole=20miko=C5=82ajczyk?= Date: Wed, 18 Mar 2026 22:36:39 +0100 Subject: [PATCH] nicolium: make loading account from kvstore improve app loading time MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: nicole mikołajczyk --- packages/nicolium/src/stores/auth.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/nicolium/src/stores/auth.ts b/packages/nicolium/src/stores/auth.ts index 7869752c6..163d3b3e1 100644 --- a/packages/nicolium/src/stores/auth.ts +++ b/packages/nicolium/src/stores/auth.ts @@ -710,6 +710,8 @@ const useAuthStore = create()( queryClient.setQueryData(queryKeys.accounts.show(account.id), account); get().actions.setCurrentAccountIfUnset(account); if (account.id === get().currentAccountId) fetchMeSuccess(account); + get().actions.verifyCredentials(token, accountUrl!); + return; } catch {} return await get().actions.verifyCredentials(token, accountUrl!);