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