import { StrictMode } from "react";
import { createRoot } from "react-dom/client";

import { ToolchainProbe } from "./toolchain-probe.js";

const root = document.getElementById("root");

if (!root) {
  throw new Error("Dada web root element is missing.");
}

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