forked from creativetimofficial/material-kit-react
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
30 lines (22 loc) · 851 Bytes
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/**
=========================================================
* Material Kit 2 React - v2.1.0
=========================================================
* Product Page: https://www.creative-tim.com/product/material-kit-react
* Copyright 2023 Creative Tim (https://www.creative-tim.com)
Coded by www.creative-tim.com
=========================================================
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
*/
import React from "react";
import * as ReactDOMClient from "react-dom/client";
import { BrowserRouter } from "react-router-dom";
import App from "App";
const container = document.getElementById("root");
// Create a root.
const root = ReactDOMClient.createRoot(container);
root.render(
<BrowserRouter>
<App />
</BrowserRouter>
);