fixing bug
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user