mirror of
https://github.com/lexogrine/dota2-react-hud.git
synced 2025-12-10 01:52:49 +01:00
9 lines
310 B
TypeScript
9 lines
310 B
TypeScript
import React from "react";
|
|
import "./index.css";
|
|
import "./fonts/rajdhani.css";
|
|
import App from "./App";
|
|
import { createRoot } from 'react-dom/client';
|
|
|
|
const container = document.getElementById('root');
|
|
const root = createRoot(container!); // createRoot(container!) if you use TypeScript
|
|
root.render(<App />); |