fix(user-status): add joined value
Add correct prop types to user-status
This commit is contained in:
parent
d642464897
commit
cf56e064e4
@ -247,6 +247,7 @@ VideoListItem.propTypes = {
|
||||
muted: PropTypes.bool.isRequired,
|
||||
listenOnly: PropTypes.bool.isRequired,
|
||||
talking: PropTypes.bool.isRequired,
|
||||
joined: PropTypes.bool.isRequired,
|
||||
}).isRequired,
|
||||
focused: PropTypes.bool.isRequired,
|
||||
};
|
||||
|
@ -20,13 +20,10 @@ const UserStatus = (props) => {
|
||||
|
||||
export default UserStatus;
|
||||
|
||||
UserStatus.defaultProps = {
|
||||
};
|
||||
|
||||
UserStatus.propTypes = {
|
||||
voiceUser: PropTypes.shape({
|
||||
listenOnly: PropTypes.bool.isRequired,
|
||||
muted: PropTypes.bool.isRequired,
|
||||
joined: PropTypes.bool,
|
||||
joined: PropTypes.bool.isRequired,
|
||||
}).isRequired,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user