mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-30 17:40:36 +00:00
16 lines
374 B
TypeScript
16 lines
374 B
TypeScript
import "./index.css";
|
|
import React from "react";
|
|
import { createRoot } from "react-dom/client";
|
|
import GameView from "./pages/GameView";
|
|
|
|
const rootElement = document.getElementById("root");
|
|
if (!rootElement) {
|
|
throw new Error("Root element not found");
|
|
}
|
|
|
|
const root = createRoot(rootElement);
|
|
root.render(
|
|
<React.StrictMode>
|
|
<GameView />
|
|
</React.StrictMode>,
|
|
);
|