Commit ebcf43c9 authored by Steven's avatar Steven

chore: update gomark.wasm

parent cfb50f19
This diff is collapsed.
......@@ -17,8 +17,7 @@ import theme from "./theme";
(async () => {
const go = new window.Go();
const responsePromise = fetch(gomarkWasm);
const { instance } = await WebAssembly.instantiateStreaming(responsePromise, go.importObject);
const { instance } = await WebAssembly.instantiateStreaming(fetch(gomarkWasm), go.importObject);
go.run(instance);
const container = document.getElementById("root");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment