web: common: update prop types

This commit is contained in:
Vladislav Makhov 2020-11-27 16:57:19 +03:00
parent 83385dd2e4
commit e46d755520

View File

@ -104,6 +104,12 @@ const RegisterWrapper = (props) => {
);
};
RegisterWrapper.propTypes = {
language: PropTypes.string,
isAuthenticated: PropTypes.bool,
enabledJoin: PropTypes.bool,
};
function mapStateToProps(state) {
const { isAuthenticated, settings } = state.auth;
const { enabledJoin } = settings;