index.tsx 484 B

123456789101112131415
  1. import React from "react";
  2. import ReactDOM from "react-dom/client";
  3. import App from "./App";
  4. import reportWebVitals from "./reportWebVitals";
  5. const root = ReactDOM.createRoot(
  6. document.getElementById("root") as HTMLElement
  7. );
  8. root.render(<App />);
  9. // If you want to start measuring performance in your app, pass a function
  10. // to log results (for example: reportWebVitals(console.log))
  11. // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
  12. reportWebVitals();