aboutsummaryrefslogtreecommitdiff
path: root/src/client/react/components/page/Index.js
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2018-01-06 15:42:04 +0100
committerNoah Loomans <noahloomans@gmail.com>2018-01-06 15:42:04 +0100
commitc0aa588bc8f85b13b5a55ccd6cdf11bf99048a1c (patch)
tree4914a9d09b362e222a83b0b9637ed87e11eebe7b /src/client/react/components/page/Index.js
parent928edee90f4a35eea20d581e093b002be04e9b47 (diff)
Add user page
Diffstat (limited to 'src/client/react/components/page/Index.js')
-rw-r--r--src/client/react/components/page/Index.js10
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;