mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-05-04 16:55:54 +00:00
16 lines
328 B
TypeScript
16 lines
328 B
TypeScript
import React from "react";
|
|
import ReactDOM from "react-dom/client";
|
|
|
|
import App from "./App";
|
|
import "./globals.css";
|
|
import "./i18n";
|
|
|
|
const root = document.getElementById("root");
|
|
if (!root) throw new Error("root element missing");
|
|
|
|
ReactDOM.createRoot(root).render(
|
|
<React.StrictMode>
|
|
<App />
|
|
</React.StrictMode>,
|
|
);
|