diff --git a/packages/uiweb/src/lib/components/space/SpaceWidget/LiveWidgetContent.tsx b/packages/uiweb/src/lib/components/space/SpaceWidget/LiveWidgetContent.tsx index 58b7a118e..0eb0b8b7c 100644 --- a/packages/uiweb/src/lib/components/space/SpaceWidget/LiveWidgetContent.tsx +++ b/packages/uiweb/src/lib/components/space/SpaceWidget/LiveWidgetContent.tsx @@ -68,7 +68,7 @@ export const LiveWidgetContent: React.FC = ({ const isMicOn = spaceObjectData?.connectionData?.local?.audio; - // const numberOfRequests = spaceObjectData.liveSpaceData.listeners.filter((listener: any) => listener.handRaised).length; + const numberOfRequests = spaceObjectData.liveSpaceData.listeners.filter((listener: any) => listener.handRaised).length; const handleMicState = async () => { await spacesObjectRef?.current?.enableAudio?.({ state: !isMicOn }); @@ -381,7 +381,7 @@ export const LiveWidgetContent: React.FC = ({ room={livekitRoom} > - + {/* */} {isHost || isSpeaker ? @@ -462,13 +462,13 @@ export const LiveWidgetContent: React.FC = ({ */} - {/* { + { isHost && numberOfRequests ? {numberOfRequests} : null - } */} + }