Up to date CRA Started by Patrick Fic

This commit is contained in:
Patrick Fic
2020-09-29 14:06:16 -07:00
commit cc82bcc810
34 changed files with 13681 additions and 0 deletions

21
src/index.js Normal file
View File

@@ -0,0 +1,21 @@
import "antd/dist/antd.css";
import React from "react";
import ReactDOM from "react-dom";
import { Provider } from "react-redux";
import { BrowserRouter } from "react-router-dom";
import { PersistGate } from "redux-persist/integration/react";
import App from "./App/App";
import "./index.css";
import { persistor, store } from "./redux/store";
require("dotenv").config();
ReactDOM.render(
<Provider store={store}>
<BrowserRouter>
<PersistGate persistor={persistor}>
<App />
</PersistGate>
</BrowserRouter>
</Provider>,
document.getElementById("root")
);