mirror of
https://github.com/Pax1601/DCSOlympus.git
synced 2025-10-29 16:56:34 +00:00
15 lines
368 B
TypeScript
15 lines
368 B
TypeScript
/***************** UI *******************/
|
|
import React from "react";
|
|
import ReactDOM from "react-dom/client";
|
|
import { UI } from "./ui/ui.js";
|
|
|
|
import "./index.css";
|
|
|
|
window.addEventListener("contextmenu", e => e. preventDefault());
|
|
|
|
ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
|
|
<React.StrictMode>
|
|
<UI />
|
|
</React.StrictMode>
|
|
);
|