data sync

This commit is contained in:
Gabe Yuan
2023-07-31 03:10:09 +08:00
parent 497084fe8a
commit 2aef159d9d
12 changed files with 14333 additions and 9971 deletions

View File

@@ -6,6 +6,7 @@ import {
STOKEY_MSAUTH,
DEFAULT_SETTING,
DEFAULT_RULES,
STOKEY_RULES_UPDATE_AT,
} from "../config";
import storage from "../libs/storage";
@@ -16,6 +17,7 @@ export const defaultStorage = {
[STOKEY_MSAUTH]: null,
[STOKEY_SETTING]: DEFAULT_SETTING,
[STOKEY_RULES]: DEFAULT_RULES,
[STOKEY_RULES_UPDATE_AT]: 1,
};
const StoragesContext = createContext(null);