Update component.jsx

This commit is contained in:
André Castro 2023-10-19 13:18:10 -03:00 committed by GitHub
parent c14b1510c2
commit 94347949d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,7 +134,7 @@ class RaiseHandNotifier extends Component {
role="button" role="button"
tabIndex={0} tabIndex={0}
style={{ backgroundColor: `${u.color}` }} style={{ backgroundColor: `${u.color}` }}
onClick={() => clearUserStatus(u.userId)} onClick={() => lowerUserHands(u.userId)}
onKeyDown={(e) => (e.keyCode === ENTER ? clearUserStatus(u.userId) : null)} onKeyDown={(e) => (e.keyCode === ENTER ? clearUserStatus(u.userId) : null)}
data-test="avatarsWrapperAvatar" data-test="avatarsWrapperAvatar"
moderator={u.role === ROLE_MODERATOR} moderator={u.role === ROLE_MODERATOR}