diff --git a/src/app/validator.ts b/src/app/validator.ts index 9cb09cc..a276ee9 100644 --- a/src/app/validator.ts +++ b/src/app/validator.ts @@ -24,7 +24,7 @@ const path = "main.wasm"; export async function loadWasm() { try { - const go = new (window as any).Go(); + const go = new Go(); if (go) { const { instance } = await WebAssembly.instantiateStreaming(