Skip to content

Commit

Permalink
chore: remove some console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardzjl committed Feb 20, 2024
1 parent e0ce2fa commit e508eb4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions web/src/contexts/conversation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,16 +116,13 @@ export const conversationReducer = (groupedConvs, action) => {
}
case "reordered": {
const convs = flatConvs(groupedConvs);
console.log("convs", convs);
const updatedConvs = convs.map((conv) => {
if (conv.id === action.conv.id) {
return { ...conv, ...action.conv };
}
return conv;
});
console.log("updatedConvs", updatedConvs);
const sortedConvs = sortConvs(updatedConvs);
console.log("sortedConvs", sortedConvs);
return groupConvs(sortedConvs);
}
case "replaceAll": {
Expand Down

0 comments on commit e508eb4

Please sign in to comment.