chore: remove unused console
This commit is contained in:
@@ -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 };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user