diff --git a/isolation/index.js b/isolation/index.js index c46556b1c..56d93860f 100644 --- a/isolation/index.js +++ b/isolation/index.js @@ -1,5 +1,3 @@ window.__TAURI_ISOLATION_HOOK__ = payload => { - // let's not verify or modify anything, just print the content from the hook - console.log("hook", payload); return payload; }; diff --git a/src/App.svelte b/src/App.svelte index 6c48cce64..383397b8b 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -27,8 +27,8 @@ onMount(async () => { if (window.__TAURI_INTERNALS__) { - unlistenEvents = await listen("event", event => { - console.log(event.payload); + unlistenEvents = await listen("event", () => { + // Add handler for incoming events }); unlistenNodeEvents = await listen("node_running", event => {