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,
|
loadingApiKey: true,
|
||||||
updateHasStore: (hasStore) => set(() => ({ hasStore: hasStore })),
|
updateHasStore: (hasStore) => set(() => ({ hasStore: hasStore })),
|
||||||
updateValidApiKey: (validApiKey) => set(() => ({ validApiKey: validApiKey })),
|
updateValidApiKey: (validApiKey) => set(() => ({ validApiKey: validApiKey })),
|
||||||
updateLoadingApiKey: (hasApiKey) => set(() => ({ hasApiKey: hasApiKey })),
|
updateLoadingApiKey: (loadingApiKey) =>
|
||||||
updateHasApiKey: (loadingApiKey) =>
|
|
||||||
set(() => ({ loadingApiKey: loadingApiKey })),
|
set(() => ({ loadingApiKey: loadingApiKey })),
|
||||||
|
updateHasApiKey: (hasApiKey) => set(() => ({ hasApiKey: hasApiKey })),
|
||||||
}));
|
}));
|
||||||
|
|
||||||
checkHasStore().then((res) => {
|
checkHasStore().then((res) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue