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
@@ -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;