web: common: update prop types
This commit is contained in:
parent
83385dd2e4
commit
e46d755520
@ -104,6 +104,12 @@ const RegisterWrapper = (props) => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
RegisterWrapper.propTypes = {
|
||||||
|
language: PropTypes.string,
|
||||||
|
isAuthenticated: PropTypes.bool,
|
||||||
|
enabledJoin: PropTypes.bool,
|
||||||
|
};
|
||||||
|
|
||||||
function mapStateToProps(state) {
|
function mapStateToProps(state) {
|
||||||
const { isAuthenticated, settings } = state.auth;
|
const { isAuthenticated, settings } = state.auth;
|
||||||
const { enabledJoin } = settings;
|
const { enabledJoin } = settings;
|
||||||
|
Loading…
Reference in New Issue
Block a user