📃 JSDoc for Typescript added
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import * as React from "react";
|
||||
import { render } from "react-dom";
|
||||
import { Provider } from "react-redux";
|
||||
import configureStore from "./store/index";
|
||||
import { ConnectedRouter } from "connected-react-router";
|
||||
import configureStore, { history } from "./store/index";
|
||||
import App from "./components/App";
|
||||
|
||||
const store = configureStore({});
|
||||
@@ -9,7 +10,9 @@ const rootEl = document.getElementById("root");
|
||||
|
||||
render(
|
||||
<Provider store={store}>
|
||||
<App history={history} />
|
||||
<ConnectedRouter history={history}>
|
||||
<App />
|
||||
</ConnectedRouter>
|
||||
</Provider>,
|
||||
rootEl,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user