diff options
Diffstat (limited to 'src/client/react/LandingPage.js')
-rw-r--r-- | src/client/react/LandingPage.js | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/client/react/LandingPage.js b/src/client/react/LandingPage.js index d79826e..24e0078 100644 --- a/src/client/react/LandingPage.js +++ b/src/client/react/LandingPage.js @@ -1,10 +1,15 @@ import React from 'react'; +import PropTypes from 'prop-types'; import Search from './components/container/Search'; -const App = () => ( +const App = ({ location }) => ( <div> - <Search /> + <Search location={location} /> </div> ); +App.propTypes = { + location: PropTypes.object.isRequired, +}; + export default App; |