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:
parent
1284329c16
commit
851caf42b7
1 changed files with 2 additions and 2 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue