diff --git a/src/index.tsx b/src/index.tsx index 5441516..715d5aa 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,10 +1,10 @@ import { render } from "solid-js/web"; import App from "./App.js"; import "solid-devtools"; +import { attachDevtoolsOverlay } from "@solid-devtools/overlay"; render(() => , document.getElementById("root")!); if (import.meta.env.VITE_DEVTOOLS_OVERLAY === "true") { - const overlay = await import("@solid-devtools/overlay") - overlay.attachDevtoolsOverlay() + attachDevtoolsOverlay(); }