Web: Common: added prop types

This commit is contained in:
Viktor Fomin 2020-11-09 12:34:25 +03:00
parent 55143dfbd0
commit 950dca9a2a
2 changed files with 2 additions and 0 deletions

View File

@ -133,6 +133,7 @@ HeaderNav.propTypes = {
user: PropTypes.object,
logout: PropTypes.func,
isAuthenticated: PropTypes.bool,
isLoaded: PropTypes.bool,
};
function mapStateToProps(state) {

View File

@ -36,6 +36,7 @@ NavLogoItem.displayName = "NavLogoItem";
NavLogoItem.propTypes = {
opened: PropTypes.bool,
onClick: PropTypes.func,
logoUrl: PropTypes.string,
};
const mapStateToProps = (state) => {