mirror of
https://github.com/NousResearch/atropos.git
synced 2026-04-30 17:40:36 +00:00
moved to community folder
This commit is contained in:
parent
a17dbdfedc
commit
0f61c9dbde
24 changed files with 118 additions and 9 deletions
16
environments/community/deepsacrifice_chess/src/main.tsx
Normal file
16
environments/community/deepsacrifice_chess/src/main.tsx
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
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>,
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue