mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-16 22:13:47 +08:00
fixed:recovery disable
This commit is contained in:
@@ -137,12 +137,9 @@ export function setLocalAppState(appState: AppState) {
|
||||
export function mergeAppState(localState: AppState, remoteState: AppState) {
|
||||
Object.keys(localState).forEach(<T extends keyof AppState>(k: string) => {
|
||||
const key = k as T;
|
||||
//if(k !== ''){
|
||||
console.log("mergeAppState", k);
|
||||
const localStoreState = localState[key];
|
||||
const remoteStoreState = remoteState[key];
|
||||
MergeStates[key](localStoreState, remoteStoreState);
|
||||
//}
|
||||
});
|
||||
|
||||
return localState;
|
||||
|
||||
Reference in New Issue
Block a user