sports-matcher/client/src/index.js

20 lines
713 B
JavaScript
Raw Normal View History

2022-03-27 23:30:18 +00:00
import React from "react";
import ReactDOM from "react-dom";
2022-03-28 04:26:34 +00:00
import Layout from "./Layout";
2022-03-27 23:30:18 +00:00
import reportWebVitals from "./reportWebVitals";
2022-03-28 04:26:34 +00:00
import { BrowserRouter } from "react-router-dom";
import "bootstrap/dist/css/bootstrap.min.css"; // This could be optimized by importing individual css components.
2022-03-27 23:30:18 +00:00
ReactDOM.render(
<React.StrictMode>
2022-03-28 04:26:34 +00:00
<BrowserRouter>
<Layout />
</BrowserRouter>
2022-03-27 23:30:18 +00:00
</React.StrictMode>,
document.getElementById("root")
);
// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();