assemble/ui/index.js

17 lines
312 B
JavaScript
Raw Normal View History

2024-01-28 03:50:31 +03:00
import React from "react";
import {createRoot} from "react-dom/client";
2024-01-28 04:03:41 +03:00
import General from "./general/index";
2024-01-28 03:50:31 +03:00
const rootDom = document.createElement("div");
document.body.appendChild(rootDom);
const root = createRoot(rootDom);
2024-01-28 04:03:41 +03:00
root.render(<Application/>);
function Application()
{
return <General />
}