optional chaining isModerator

This commit is contained in:
Ramón Souza 2024-05-10 15:38:26 -03:00
parent 3c2a3f7e25
commit 2c27208a8a

View File

@ -26,7 +26,7 @@ const UserContentContainer = (props) => {
{...{
isGuestLobbyMessageEnabled,
currentUser,
isTimerActive: currentMeeting?.componentsFlags?.hasTimer && currentUser.isModerator,
isTimerActive: currentMeeting?.componentsFlags?.hasTimer && currentUser?.isModerator,
...props,
}}
/>