mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-15 21:43:45 +08:00
cap nhat giao dien
This commit is contained in:
@@ -42,8 +42,8 @@ export const DEFAULT_CONFIG = {
|
||||
lastUpdate: Date.now(), // timestamp, to merge state
|
||||
|
||||
submitKey: SubmitKey.Enter,
|
||||
avatar: "1f603",
|
||||
fontSize: 14,
|
||||
avatar: "chebi-user",
|
||||
fontSize: 16,
|
||||
fontFamily: "",
|
||||
theme: Theme.Auto as Theme,
|
||||
tightBorder: !!config?.isApp,
|
||||
|
||||
@@ -131,6 +131,9 @@ export const useSyncStore = createPersistStore(
|
||||
) as AppState;
|
||||
mergeAppState(localState, parsedRemoteState);
|
||||
setLocalAppState(localState);
|
||||
|
||||
console.log("[Sync] Merged remote state with local state");
|
||||
console.log("Dong bo thanh cong", provider, config.username);
|
||||
}
|
||||
} catch (e) {
|
||||
console.log("[Sync] failed to get remote state", e);
|
||||
|
||||
Reference in New Issue
Block a user