From 7e7be00b129c66c668c5e444f50d95836086280d Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Mon, 13 Mar 2023 13:07:51 -0700 Subject: [PATCH] Guard against mobile exception. Closes #2793 --- web/components/ui/Content/MobileContent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/ui/Content/MobileContent.tsx b/web/components/ui/Content/MobileContent.tsx index a8557b0fd..eb95d22dd 100644 --- a/web/components/ui/Content/MobileContent.tsx +++ b/web/components/ui/Content/MobileContent.tsx @@ -121,7 +121,7 @@ export const MobileContent: FC = ({ ); const items = []; - if (showChat) { + if (showChat && currentUser) { items.push({ label: 'Chat', key: '0',