Finished functionally complete client registration workflow
This commit is contained in:
+2
-13
@@ -1,26 +1,15 @@
|
||||
import React from "react";
|
||||
import ReactDOM from "react-dom";
|
||||
import { BrowserRouter } from "react-router-dom";
|
||||
import { createStore, applyMiddleware } from "redux";
|
||||
import createSagaMiddleware from "redux-saga";
|
||||
import { Provider } from "react-redux";
|
||||
import { createLogger } from "redux-logger";
|
||||
|
||||
import rootReducer from "./reducers";
|
||||
import rootSaga from "./sagas";
|
||||
import configureStore from "./store";
|
||||
import App from "./components/App";
|
||||
import { unregister } from "./registerServiceWorker";
|
||||
|
||||
const sagaMiddleware = createSagaMiddleware();
|
||||
const debugLogger = createLogger();
|
||||
const store = createStore(
|
||||
rootReducer,
|
||||
applyMiddleware(debugLogger, sagaMiddleware)
|
||||
);
|
||||
const store = configureStore();
|
||||
const supportsHistory = "pushState" in window.history;
|
||||
|
||||
sagaMiddleware.run(rootSaga);
|
||||
|
||||
const rootElement = document.getElementById("root");
|
||||
|
||||
ReactDOM.render(
|
||||
|
||||
Reference in New Issue
Block a user