From 86bee00e5e04cccce1b0970d7fc9c35e3fd4c8f1 Mon Sep 17 00:00:00 2001 From: Joe Krill Date: Sun, 28 Jul 2024 11:03:32 -0400 Subject: [PATCH] Use aliased preact import in Panel (#989) --- web/components/panel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/components/panel.tsx b/web/components/panel.tsx index c2878199..3f25fce3 100644 --- a/web/components/panel.tsx +++ b/web/components/panel.tsx @@ -1,4 +1,4 @@ -import { useEffect, useRef } from "https://esm.sh/preact@10.11.1/hooks"; +import { useEffect, useRef } from "preact/hooks"; import { Client } from "../client.ts"; import { PanelConfig } from "../../type/web.ts"; import { panelHtml } from "./panel_html.ts";