atropos/environments/community/deepsacrifice_chess/src/main.tsx
2025-05-26 13:27:43 +10:00

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>,
);