import "./lib/sentry"; import React from "react"; import { createRoot } from "react-dom/client"; import { NextUIProvider } from "@nextui-org/react"; import { ThemeProvider } from "next-themes"; import App from "./components/App"; import * as Sentry from "@sentry/react"; let ErrorBoundary = ({ children }: React.PropsWithChildren) => <>{children}; if (__SENTRY_DSN__) { ErrorBoundary = ({ children }) => { return {children}; }; } const root = createRoot(document.getElementById("root")!); root.render(
);