cleaning console logs

This commit is contained in:
talksik
2022-05-07 17:59:31 -05:00
parent 6a7caa920d
commit 1161684539
3 changed files with 11 additions and 12 deletions
@@ -113,11 +113,6 @@ function useSocketHandler(linesData: MasterLineData[]) {
newMap[res.lineId].currentUserMember?.userId.toString() ===
res.userId
) {
console.log(
"updated my line member state for this line | is toggle tuned in: ",
res.toggledIn
);
newMap[res.lineId].currentUserMember.lastVisitDate = new Date();
newMap[res.lineId].currentUserMember.state = res.toggledIn
? LineMemberState.TUNED
@@ -202,9 +197,6 @@ function useSocketHandler(linesData: MasterLineData[]) {
*/
useEffect(() => {
if (linesData?.length > 0) {
console.log("going to make initial connections and create lines map");
console.log(linesData);
setLinesMap((prevMappings) => {
// go through the lines from the persistent store