Revert "nicolium: make loading account from kvstore improve app loading time"

This reverts commit 804dc5aa7f.
This commit is contained in:
nicole mikołajczyk
2026-03-19 17:09:47 +01:00
parent eac3bf1899
commit d810a0a1b9

View File

@ -710,8 +710,6 @@ const useAuthStore = create<AuthStore>()(
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!);