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");