import { StrictMode } from "react"; import { createRoot } from "react-dom/client"; import { Toast } from "@base-ui-components/react/toast"; import App from "./App"; import { Toaster } from "./components/ui/toaster"; import "./styles/globals.css"; const root = document.getElementById("root"); if (!root) throw new Error("missing #root"); createRoot(root).render( , );