Merge pull request #11773 from PhMemmel/reflect-hand-raised-state-in-button-style

Hand raise button now reflects hand raised state
This commit is contained in:
Anton Georgiev 2021-04-06 13:45:17 -04:00 committed by GitHub
commit b699790251
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,9 @@ class ActionsBar extends PureComponent {
}`,
})}
accessKey={shortcuts.raisehand}
color="primary"
color={currentUser.emoji === 'raiseHand' ? 'primary' : 'default'}
ghost={currentUser.emoji !== 'raiseHand'}
className={cx(currentUser.emoji === 'raiseHand' || styles.btn)}
hideLabel
circle
size="lg"