From dc93f330fc96b67c913f8c6c7f27676134078e6f Mon Sep 17 00:00:00 2001 From: Lalit Kumar Date: Thu, 25 Jul 2019 13:11:53 +0530 Subject: [PATCH] removed router from index.js --- src/index.js | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/index.js b/src/index.js index d3c0572..1f52d43 100644 --- a/src/index.js +++ b/src/index.js @@ -1,7 +1,6 @@ import React from 'react'; import ReactDOM from 'react-dom'; import { Provider } from 'react-redux'; -import { BrowserRouter as Router } from 'react-router-dom'; import { applyMiddleware, createStore } from 'redux'; import { composeWithDevTools } from 'redux-devtools-extension'; import thunk from 'redux-thunk'; @@ -13,15 +12,13 @@ import rootReducer from './store/reducers/index'; const store = createStore( rootReducer, - composeWithDevTools(applyMiddleware(thunk)), + composeWithDevTools(applyMiddleware(thunk)) ); ReactDOM.render( - - - - - , - document.getElementById('root'), + + + , + document.getElementById('root') ); registerServiceWorker();