From ac550e06029ae6ac40fb804082ab9e26d25ae5c5 Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Wed, 20 Nov 2024 12:16:43 +0100 Subject: [PATCH] Remove unused console.logs --- isolation/index.js | 2 -- src/App.svelte | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) 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 => {