fix(debug): DebugConsole
All checks were successful
Deploy eCourt Note Web to Server / Validate Database Schema (Drizzle) (push) Successful in 3s
Deploy eCourt Note Web to Server / Build Web Docker Image (push) Successful in 41s
Deploy eCourt Note Web to Server / Deploy eCourt Note Web to Server (push) Successful in 13s
Deploy eCourt Note Web to Server / Notify Deployment Status (push) Successful in 1s

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-09-15 16:18:53 +07:00
parent 5c8e52bd62
commit b33af7d7f2

View file

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