mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-08-17 04:19:13 +00:00
NavBar propTypes defined as not required
This commit is contained in:
parent
23239b0847
commit
029a6341bd
1 changed files with 5 additions and 5 deletions
|
|
@ -60,11 +60,11 @@ NavBar.propTypes = {
|
|||
icon: PropTypes.string.isRequired,
|
||||
label: PropTypes.string.isRequired,
|
||||
href: PropTypes.string.isRequired
|
||||
})).isRequired,
|
||||
title: PropTypes.string.isRequired,
|
||||
backButton: PropTypes.bool.isRequired,
|
||||
searchBar: PropTypes.bool.isRequired,
|
||||
userMenu: PropTypes.bool.isRequired
|
||||
})),
|
||||
title: PropTypes.string,
|
||||
backButton: PropTypes.bool,
|
||||
searchBar: PropTypes.bool,
|
||||
userMenu: PropTypes.bool
|
||||
};
|
||||
|
||||
module.exports = NavBar;
|
||||
|
|
|
|||
Loading…
Reference in a new issue