14 lines
268 B
TypeScript
14 lines
268 B
TypeScript
import { StrictMode } from "react";
|
|
import { createRoot } from "react-dom/client";
|
|
import { App } from "./App";
|
|
import "./index.css";
|
|
|
|
const root = document.getElementById("root");
|
|
if (root) {
|
|
createRoot(root).render(
|
|
<StrictMode>
|
|
<App />
|
|
</StrictMode>,
|
|
);
|
|
}
|