chore: remove unused console

This commit is contained in:
Tristan Yang
2022-08-31 22:13:35 +08:00
parent be7d547719
commit 65f8917657
31 changed files with 44 additions and 65 deletions
-7
View File
@@ -39,13 +39,6 @@ const serverSlice = createSlice({
},
updateInfo(state, action: PayloadAction<Partial<StoredServer>>) {
const values = action.payload || {};
const tmp = { ...state, ...values };
console.log("ssss", tmp);
// todo: check and remove old logic
// Object.keys(values).forEach((_key) => {
// state[_key] = values[_key];
// });
return { ...state, ...values };
}
}