+ )
+}
type MicIndicatorProps = {
participant: Participant
@@ -29,38 +58,51 @@ const MicIndicator = ({ participant }: MicIndicatorProps) => {
})
const isSpeaking = useIsSpeaking(participant)
const isDisabled = isLocal(participant) || (!isLocal(participant) && isMuted)
+
+ const [isAlertOpen, setIsAlertOpen] = useState(false)
+
+ const name = participant.name || participant.identity
+
return (
-