mirror of
https://github.com/nimbold/Firelink.git
synced 2026-07-27 12:29:29 +00:00
17 lines
390 B
TypeScript
17 lines
390 B
TypeScript
import { StrictMode } from "react";
|
|
import { createRoot } from "react-dom/client";
|
|
import "./index.css";
|
|
import App from "./App";
|
|
import { ErrorBoundary } from "./ErrorBoundary";
|
|
|
|
const rootElement = document.getElementById("root");
|
|
if (rootElement) {
|
|
createRoot(rootElement).render(
|
|
<StrictMode>
|
|
<ErrorBoundary>
|
|
<App />
|
|
</ErrorBoundary>
|
|
</StrictMode>,
|
|
);
|
|
}
|