fix(participants-pane) bring back lobby reject button
It got accidentally removed in:
1dc8bfa631 (diff-ef66b8ab7c899b16d6c1102b3c812aa45509f95e11267cbfdbd0674143e94575)
This commit is contained in:
parent
41c38427c1
commit
4473ce8fb6
|
@ -33,7 +33,7 @@ export const LobbyParticipantItem = ({
|
|||
openDrawerForParticipant
|
||||
}: Props) => {
|
||||
const { id } = p;
|
||||
const [ admit ] = useLobbyActions({ participantID: id });
|
||||
const [ admit, reject ] = useLobbyActions({ participantID: id });
|
||||
const { t } = useTranslation();
|
||||
|
||||
return (
|
||||
|
@ -48,6 +48,11 @@ export const LobbyParticipantItem = ({
|
|||
raisedHand = { p.raisedHand }
|
||||
videoMediaState = { MEDIA_STATE.NONE }
|
||||
youText = { t('chat.you') }>
|
||||
<ParticipantActionButton
|
||||
onClick = { reject }
|
||||
primary = { false }>
|
||||
{t('lobby.reject')}
|
||||
</ParticipantActionButton>
|
||||
<ParticipantActionButton
|
||||
onClick = { admit }
|
||||
primary = { true }>
|
||||
|
|
Loading…
Reference in New Issue