Fix error ownerName

This commit is contained in:
oobjectt 2023-05-01 12:56:30 +02:00
parent b390afc25c
commit c37047eb71

View File

@ -14,7 +14,7 @@ const useFurnitureRentableSpaceWidgetState = () =>
const { navigatorData = null } = useNavigator(); const { navigatorData = null } = useNavigator();
const { simpleAlert } = useNotification(); const { simpleAlert } = useNotification();
const isRoomOwner = GetSessionDataManager().userName === navigatorData.enteredGuestRoom.ownerName; const isRoomOwner = GetSessionDataManager().userName === navigatorData.enteredGuestRoom?.ownerName;
const onClose = () => const onClose = () =>
{ {