fixing bug
This commit is contained in:
@@ -20,7 +20,7 @@ app.use(cors());
|
|||||||
app.use(express.json());
|
app.use(express.json());
|
||||||
|
|
||||||
app.use((req: Request, res: Response, next: NextFunction) => {
|
app.use((req: Request, res: Response, next: NextFunction) => {
|
||||||
console.log("Time: ", Date.now());
|
console.log("Time: ", new Date());
|
||||||
next();
|
next();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ export default function NirvanaTerminal({
|
|||||||
|
|
||||||
setSelectedLineId((prevSelectedLineId) => {
|
setSelectedLineId((prevSelectedLineId) => {
|
||||||
// ! only want to untune if it's a temporarily tuned line
|
// ! 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);
|
handleUnTuneToLine(prevSelectedLineId);
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user