mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-14 19:43:49 +00:00
Implemented loading of short URLs
This commit is contained in:
@@ -4,13 +4,14 @@ import ReactDOM from 'react-dom';
|
||||
import { Provider } from 'react-redux';
|
||||
import { BrowserRouter } from 'react-router-dom';
|
||||
import { applyMiddleware, createStore } from 'redux';
|
||||
import ReduxThunk from 'redux-thunk';
|
||||
|
||||
import App from './App';
|
||||
import './index.scss';
|
||||
import reducers from './reducers';
|
||||
import registerServiceWorker from './registerServiceWorker';
|
||||
|
||||
// const store = createStore(reducers, {}, applyMiddleware());
|
||||
const store = createStore(reducers, applyMiddleware());
|
||||
const store = createStore(reducers, applyMiddleware(ReduxThunk));
|
||||
|
||||
ReactDOM.render(
|
||||
<Provider store={store}>
|
||||
|
||||
Reference in New Issue
Block a user