diff options
Diffstat (limited to 'src/client/react/components/page/Index.js')
-rw-r--r-- | src/client/react/components/page/Index.js | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/client/react/components/page/Index.js b/src/client/react/components/page/Index.js index dcc521d..a91d7a9 100644 --- a/src/client/react/components/page/Index.js +++ b/src/client/react/components/page/Index.js @@ -1,16 +1,10 @@ import React from 'react'; -import PropTypes from 'prop-types'; import Search from '../container/Search'; -const App = ({ location }) => ( +const App = () => ( <div> - <Search location={location} /> + <Search /> </div> ); -App.propTypes = { - // eslint-disable-next-line react/forbid-prop-types - location: PropTypes.object.isRequired, -}; - export default App; |