chore: remove unused console
This commit is contained in:
@@ -83,7 +83,7 @@ const messageSlice = createSlice({
|
||||
},
|
||||
addReplyingMessage(state, action: PayloadAction<{ key: string | number; mid: number }>) {
|
||||
const { key, mid } = action.payload;
|
||||
console.log("to ", key, mid);
|
||||
// console.log("to ", key, mid);
|
||||
state.replying[key] = mid;
|
||||
},
|
||||
removeReplyingMessage(state, action: PayloadAction<string | number>) {
|
||||
|
||||
@@ -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