subrules sync time

This commit is contained in:
Gabe Yuan
2023-09-11 17:56:31 +08:00
parent 2bf79dbc51
commit 79612f8a1b
4 changed files with 53 additions and 8 deletions

View File

@@ -48,7 +48,7 @@ export function useSubRules() {
const addSub = useCallback(
async (url) => {
const subrulesList = [...list];
subrulesList.push({ url, selected: false, syncAt: Date.now() });
subrulesList.push({ url, selected: false });
await updateSetting({ subrulesList });
},
[list, updateSetting]