fix sync bug

This commit is contained in:
Gabe Yuan
2023-09-11 11:33:28 +08:00
parent 0d93cf78f7
commit 2ee4609192
4 changed files with 31 additions and 13 deletions

View File

@@ -19,7 +19,7 @@ export function SettingProvider({ children }) {
const syncSetting = useMemo(
() =>
debounce(() => {
trySyncSetting();
trySyncSetting(false, true);
}, [2000]),
[]
);