updated client.js to not be a constructor

This commit is contained in:
bill bittner 2018-03-16 14:09:56 -07:00
parent aa3c96b8d4
commit 402724e513

View file

@ -21,7 +21,6 @@ const sagaMiddleware = createSagaMiddleware();
const middleware = applyMiddleware(sagaMiddleware);
const reduxMiddleware = window.__REDUX_DEVTOOLS_EXTENSION__ ? compose(middleware, window.__REDUX_DEVTOOLS_EXTENSION__()) : middleware;
const SpeechClient = () => {
// create teh store
let store;
if (preloadedState) {
@ -44,6 +43,3 @@ const SpeechClient = () => {
</Provider>,
document.getElementById('react-app')
);
};
module.exports = SpeechClient;