Remove unused console.logs

This commit is contained in:
Sebastian Martinez
2024-11-20 12:16:43 +01:00
parent 743b7af54c
commit ac550e0602
2 changed files with 2 additions and 4 deletions
-2
View File
@@ -1,5 +1,3 @@
window.__TAURI_ISOLATION_HOOK__ = payload => { 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; return payload;
}; };
+2 -2
View File
@@ -27,8 +27,8 @@
onMount(async () => { onMount(async () => {
if (window.__TAURI_INTERNALS__) { if (window.__TAURI_INTERNALS__) {
unlistenEvents = await listen("event", event => { unlistenEvents = await listen("event", () => {
console.log(event.payload); // Add handler for incoming events
}); });
unlistenNodeEvents = await listen<boolean>("node_running", event => { unlistenNodeEvents = await listen<boolean>("node_running", event => {