aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/react/components/page/Index.js (renamed from src/client/react/LandingPage.js)3
-rw-r--r--src/client/react/index.js4
2 files changed, 4 insertions, 3 deletions
diff --git a/src/client/react/LandingPage.js b/src/client/react/components/page/Index.js
index 24e0078..dcc521d 100644
--- a/src/client/react/LandingPage.js
+++ b/src/client/react/components/page/Index.js
@@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
-import Search from './components/container/Search';
+import Search from '../container/Search';
const App = ({ location }) => (
<div>
@@ -9,6 +9,7 @@ const App = ({ location }) => (
);
App.propTypes = {
+ // eslint-disable-next-line react/forbid-prop-types
location: PropTypes.object.isRequired,
};
diff --git a/src/client/react/index.js b/src/client/react/index.js
index 5279bf4..18dacf5 100644
--- a/src/client/react/index.js
+++ b/src/client/react/index.js
@@ -6,7 +6,7 @@ import { createStore, applyMiddleware, compose } from 'redux';
import logger from 'redux-logger';
import thunk from 'redux-thunk';
import reducer from './reducers';
-import LandingPage from './LandingPage';
+import Index from './components/page/Index';
// eslint-disable-next-line no-underscore-dangle
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
@@ -19,7 +19,7 @@ ReactDOM.render(
<Provider store={store}>
<Router>
<div>
- <Route exact path="/" component={LandingPage} />
+ <Route exact path="/" component={Index} />
</div>
</Router>
</Provider>,