reorganized file system
This commit is contained in:
parent
89c4b006c2
commit
c23b6192f9
147 changed files with 61 additions and 61 deletions
|
@ -2,7 +2,7 @@ import React from 'react';
|
||||||
import { Route, Switch } from 'react-router-dom';
|
import { Route, Switch } from 'react-router-dom';
|
||||||
import HomePage from 'pages/HomePage'; // or use the provided local homepage
|
import HomePage from 'pages/HomePage'; // or use the provided local homepage
|
||||||
import AboutPage from 'pages/AboutPage';
|
import AboutPage from 'pages/AboutPage';
|
||||||
import LoginPage from 'containers/LoginPage';
|
import LoginPage from 'pages/LoginPage';
|
||||||
import ShowPage from 'pages/ShowPage';
|
import ShowPage from 'pages/ShowPage';
|
||||||
import FourOhFourPage from 'containers/FourOhFourPage';
|
import FourOhFourPage from 'containers/FourOhFourPage';
|
||||||
|
|
|
@ -21,6 +21,7 @@ const sagaMiddleware = createSagaMiddleware();
|
||||||
const middleware = applyMiddleware(sagaMiddleware);
|
const middleware = applyMiddleware(sagaMiddleware);
|
||||||
const reduxMiddleware = window.__REDUX_DEVTOOLS_EXTENSION__ ? compose(middleware, window.__REDUX_DEVTOOLS_EXTENSION__()) : middleware;
|
const reduxMiddleware = window.__REDUX_DEVTOOLS_EXTENSION__ ? compose(middleware, window.__REDUX_DEVTOOLS_EXTENSION__()) : middleware;
|
||||||
|
|
||||||
|
const SpeechClient = () => {
|
||||||
// create teh store
|
// create teh store
|
||||||
let store;
|
let store;
|
||||||
if (preloadedState) {
|
if (preloadedState) {
|
||||||
|
@ -43,3 +44,6 @@ hydrate(
|
||||||
</Provider>,
|
</Provider>,
|
||||||
document.getElementById('react-app')
|
document.getElementById('react-app')
|
||||||
);
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
module.exports = SpeechClient;
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue