mirror of
https://seed.radicle.dev/rad:z4D5UCArafTzTQpDZNQRuqswh3ury.git
synced 2026-10-18 19:10:45 +08:00
Remove unused console.logs
This commit is contained in:
@@ -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
@@ -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 => {
|
||||||
|
|||||||
Reference in New Issue
Block a user