From 851caf42b737f7269ac456370f62a477406f1912 Mon Sep 17 00:00:00 2001 From: cristhianzl Date: Thu, 4 Jan 2024 15:03:34 -0300 Subject: [PATCH] fix(storeStore.tsx): fix incorrect order of arguments in updateHasApiKey function fix(storeStore.tsx): fix incorrect order of arguments in updateLoadingApiKey function --- src/frontend/src/stores/storeStore.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/stores/storeStore.tsx b/src/frontend/src/stores/storeStore.tsx index c79eb7d8d..e7938a98a 100644 --- a/src/frontend/src/stores/storeStore.tsx +++ b/src/frontend/src/stores/storeStore.tsx @@ -22,9 +22,9 @@ export const useStoreStore = create((set) => ({ loadingApiKey: true, updateHasStore: (hasStore) => set(() => ({ hasStore: hasStore })), updateValidApiKey: (validApiKey) => set(() => ({ validApiKey: validApiKey })), - updateLoadingApiKey: (hasApiKey) => set(() => ({ hasApiKey: hasApiKey })), - updateHasApiKey: (loadingApiKey) => + updateLoadingApiKey: (loadingApiKey) => set(() => ({ loadingApiKey: loadingApiKey })), + updateHasApiKey: (hasApiKey) => set(() => ({ hasApiKey: hasApiKey })), })); checkHasStore().then((res) => {