Signed-off-by: Dup4 <lyuzhi.pan@gmail.com>
This commit is contained in:
Duplicate4
2024-02-03 01:20:10 +08:00
committed by GitHub
parent 1a97bd55c7
commit b25a0545f5
2 changed files with 7 additions and 5 deletions

View File

@@ -268,7 +268,7 @@ function CheckButton() {
const syncStore = useSyncStore();
const couldCheck = useMemo(() => {
return syncStore.coundSync();
return syncStore.cloudSync();
}, [syncStore]);
const [checkState, setCheckState] = useState<
@@ -472,7 +472,7 @@ function SyncItems() {
const promptStore = usePromptStore();
const maskStore = useMaskStore();
const couldSync = useMemo(() => {
return syncStore.coundSync();
return syncStore.cloudSync();
}, [syncStore]);
const [showSyncConfigModal, setShowSyncConfigModal] = useState(false);