From b33af7d7f297eda4cf3e608713232cdbb2fe7b35 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Tue, 15 Sep 2026 16:18:53 +0700 Subject: [PATCH] fix(debug): DebugConsole --- components/DebugConsole.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/DebugConsole.tsx b/components/DebugConsole.tsx index 9499a23..f40105c 100644 --- a/components/DebugConsole.tsx +++ b/components/DebugConsole.tsx @@ -17,8 +17,9 @@ export default function DebugConsole() { s.src = "https://cdn.jsdelivr.net/npm/eruda@3"; s.async = true; s.onload = () => { - const w = window as unknown as { eruda?: { create: () => void } }; - w.eruda?.create(); + const w = window as unknown as { eruda?: { init: () => void; show: () => void } }; + w.eruda?.init(); + w.eruda?.show(); }; s.onerror = () => { const b = document.createElement("div");