aboutsummaryrefslogtreecommitdiff
path: root/src/main.jsx
diff options
context:
space:
mode:
authorAdrián Oliva <adrian.oliva@cimat.mx>2023-05-16 19:52:29 -0600
committerAdrián Oliva <adrian.oliva@cimat.mx>2023-05-16 19:52:29 -0600
commit17c1d3d2070ee0c060c3e71a9e5868f004b2b034 (patch)
treec0e7cf17901196b089291c63e8f97058068aed35 /src/main.jsx
downloadToDo-App-FE-17c1d3d2070ee0c060c3e71a9e5868f004b2b034.tar.gz
ToDo-App-FE-17c1d3d2070ee0c060c3e71a9e5868f004b2b034.zip
Start point.
Visit https://github.com/nvh95/vite-react-template-redux to see original template.
Diffstat (limited to 'src/main.jsx')
-rw-r--r--src/main.jsx14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main.jsx b/src/main.jsx
new file mode 100644
index 0000000..3139d2e
--- /dev/null
+++ b/src/main.jsx
@@ -0,0 +1,14 @@
+import React from "react";
+import ReactDOM from "react-dom/client";
+import { Provider } from "react-redux";
+import { store } from "./app/store";
+import App from "./App";
+import "./index.css";
+
+ReactDOM.createRoot(document.getElementById("root")).render(
+ <React.StrictMode>
+ <Provider store={store}>
+ <App />
+ </Provider>
+ </React.StrictMode>
+);