aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/main.tsx
blob: ca839a3da022d176322671feffa623e644651729 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { config } from "@fortawesome/fontawesome-svg-core";
import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import "@fortawesome/fontawesome-svg-core/styles.css";
import "./tailwind.css";
import "./shiki.css";
import App from "./App";

config.autoAddCss = false;

const root = document.getElementById("root");
if (!root) {
  throw new Error("Root element not found");
}

createRoot(root).render(
  <StrictMode>
    <App />
  </StrictMode>,
);