Skip to content
This repository was archived by the owner on Oct 30, 2025. It is now read-only.

Commit 2233884

Browse files
committed
[REFACTOR] Remove log statements from client side code
1 parent a666dbb commit 2233884

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

  • client/src/components/SignedLeftSidebar

client/src/components/SignedLeftSidebar/index.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,6 @@ export default function SignedLeftSidebar(props) {
110110
formatAndSetRooms(data.update);
111111
})
112112
.catch((err) => {
113-
console.log("Error Fetching Rooms from server --->", err);
114113
});
115114
}, []);
116115

@@ -174,7 +173,6 @@ export default function SignedLeftSidebar(props) {
174173
}
175174
if (rooms["conversations"] &&
176175
rooms["conversations"][e.data.data._id] && e.data.data.unread > 0) {
177-
console.log(e.data.data);
178176
document.getElementById("custom-sound-chime").play();
179177
}
180178
break;
@@ -201,7 +199,6 @@ export default function SignedLeftSidebar(props) {
201199
addRoom(data.subscription);
202200
})
203201
.catch((err) => {
204-
console.log("Error Fetching Room from server --->", err);
205202
});
206203
break;
207204
}
@@ -259,7 +256,6 @@ export default function SignedLeftSidebar(props) {
259256
});
260257
setOrganizations(organizations);
261258
} catch (error) {
262-
console.log(error);
263259
}
264260
};
265261

@@ -299,7 +295,6 @@ export default function SignedLeftSidebar(props) {
299295
window.location = "/login";
300296
})
301297
.catch((err) => {
302-
console.log("Error logging out --->", err);
303298
loadingIcon.classList.add("hide-logout-loading");
304299
logoutButton.classList.remove("disable-click");
305300
document

0 commit comments

Comments
 (0)