File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -17,8 +17,6 @@ import jwt from 'jsonwebtoken';
1717import registerServiceWorker from './registerServiceWorker' ;
1818// Root reducer to use in Redux Store
1919import rootReducer from './reducers/rootReducer' ;
20- // Actions
21- //import { setCurrentUser } from './actions/authActions';
2220// The application, high order component
2321import App from './components/App' ;
2422// Application routes as external component
@@ -37,12 +35,6 @@ const store = createStore(
3735 )
3836) ;
3937
40- // Verify if token exists and set it to request headers
41- // if (localStorage.jwtToken) {
42- // setAuthorizationToken(localStorage.jwtToken);
43- // store.dispatch(setCurrentUser(jwt.decode(localStorage.jwtToken)));
44- // }
45-
4638ReactDOM . render (
4739 < Provider store = { store } >
4840 < Router history = { history } >
You can’t perform that action at this time.
0 commit comments