fix(user-status): add joined value

Add correct prop types to user-status
This commit is contained in:
Max Franke 2022-05-04 14:56:51 -03:00
parent d642464897
commit cf56e064e4
2 changed files with 2 additions and 4 deletions

View File

@ -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,
};

View File

@ -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,
};