fixing bug

This commit is contained in:
talksik
2022-05-09 17:48:23 -05:00
parent e4233889f2
commit 5814edbf0f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ app.use(cors());
app.use(express.json());
app.use((req: Request, res: Response, next: NextFunction) => {
console.log("Time: ", Date.now());
console.log("Time: ", new Date());
next();
});
@@ -93,7 +93,7 @@ export default function NirvanaTerminal({
setSelectedLineId((prevSelectedLineId) => {
// ! only want to untune if it's a temporarily tuned line
if (selectedLine.currentUserMember?.state === LineMemberState.INBOX)
if (selectedLine?.currentUserMember?.state === LineMemberState.INBOX)
handleUnTuneToLine(prevSelectedLineId);
return null;