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