fix(storeStore.tsx): fix incorrect order of arguments in updateHasApiKey function

fix(storeStore.tsx): fix incorrect order of arguments in updateLoadingApiKey function
This commit is contained in:
cristhianzl 2024-01-04 15:03:34 -03:00
commit 851caf42b7

View file

@ -22,9 +22,9 @@ export const useStoreStore = create<State & Action>((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) => {