mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
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 = [];
|
const items = [];
|
||||||
if (showChat) {
|
if (showChat && currentUser) {
|
||||||
items.push({
|
items.push({
|
||||||
label: 'Chat',
|
label: 'Chat',
|
||||||
key: '0',
|
key: '0',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user