|
|
@@ -33,7 +33,7 @@ export const LobbyParticipantItem = ({
|
|
33
|
33
|
openDrawerForParticipant
|
|
34
|
34
|
}: Props) => {
|
|
35
|
35
|
const { id } = p;
|
|
36
|
|
- const [ admit ] = useLobbyActions({ participantID: id });
|
|
|
36
|
+ const [ admit, reject ] = useLobbyActions({ participantID: id });
|
|
37
|
37
|
const { t } = useTranslation();
|
|
38
|
38
|
|
|
39
|
39
|
return (
|
|
|
@@ -48,6 +48,11 @@ export const LobbyParticipantItem = ({
|
|
48
|
48
|
raisedHand = { p.raisedHand }
|
|
49
|
49
|
videoMediaState = { MEDIA_STATE.NONE }
|
|
50
|
50
|
youText = { t('chat.you') }>
|
|
|
51
|
+ <ParticipantActionButton
|
|
|
52
|
+ onClick = { reject }
|
|
|
53
|
+ primary = { false }>
|
|
|
54
|
+ {t('lobby.reject')}
|
|
|
55
|
+ </ParticipantActionButton>
|
|
51
|
56
|
<ParticipantActionButton
|
|
52
|
57
|
onClick = { admit }
|
|
53
|
58
|
primary = { true }>
|