Fix PropTypes warning in WrappedRoute
This commit is contained in:
parent
c50a7b2126
commit
6df733ba4e
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class WrappedRoute extends React.Component {
|
||||||
|
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
component: PropTypes.func.isRequired,
|
component: PropTypes.func.isRequired,
|
||||||
page: PropTypes.object,
|
page: PropTypes.oneOfType([PropTypes.object, PropTypes.func]),
|
||||||
content: PropTypes.node,
|
content: PropTypes.node,
|
||||||
componentParams: PropTypes.object,
|
componentParams: PropTypes.object,
|
||||||
layout: PropTypes.object,
|
layout: PropTypes.object,
|
||||||
|
|
Loading…
Reference in a new issue