Guard against mobile exception. Closes #2793
This commit is contained in:
parent
610d7b4d63
commit
7e7be00b12
@ -121,7 +121,7 @@ export const MobileContent: FC<MobileContentProps> = ({
|
||||
);
|
||||
|
||||
const items = [];
|
||||
if (showChat) {
|
||||
if (showChat && currentUser) {
|
||||
items.push({
|
||||
label: 'Chat',
|
||||
key: '0',
|
||||
|
Loading…
x
Reference in New Issue
Block a user