Files
openpanel/packages/devtools-server/src/client/index.tsx
Stefan Pejcic 8595a9f4e5 back
2024-05-08 19:58:53 +02:00

11 lines
264 B
TypeScript

import { renderDevTools } from "@refinedev/devtools-ui";
import "@refinedev/devtools-ui/style.css";
const container = document.getElementById("root");
if (container) {
renderDevTools(container);
} else {
throw new Error("Could not find root element");
}