diff options
| author | Noah Loomans <noahloomans@gmail.com> | 2018-01-06 13:16:31 +0100 | 
|---|---|---|
| committer | Noah Loomans <noahloomans@gmail.com> | 2018-01-06 13:16:31 +0100 | 
| commit | 928edee90f4a35eea20d581e093b002be04e9b47 (patch) | |
| tree | eda84001c4ed3c25f2a3056ba5c28aba2320a6b2 /src | |
| parent | 70a9b0be3782122750388c24eb98b0d45e6fc6d1 (diff) | |
Move LandingPage.js to component/page/Index.js
Diffstat (limited to 'src')
| -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.js | 4 | 
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>, | 
