From 461dabf362addb953e3697636e9f5142d0a7e657 Mon Sep 17 00:00:00 2001 From: ShareVB Date: Sat, 22 Nov 2025 17:00:56 +0100 Subject: [PATCH] fix: invalid watch callback --- src/tools/ical-parser/ical-parser.vue | 2 +- src/tools/image-to-css/image-to-css.vue | 2 +- src/tools/torrent-to-magnet/torrent-to-magnet.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/tools/ical-parser/ical-parser.vue b/src/tools/ical-parser/ical-parser.vue index 3ae56491..07877dbd 100644 --- a/src/tools/ical-parser/ical-parser.vue +++ b/src/tools/ical-parser/ical-parser.vue @@ -34,7 +34,7 @@ async function onUpload(file: File) { } } -watch(icalContent, (_, newValue) => { +watch(icalContent, (newValue) => { if (newValue !== '') { fileInput.value = null; } diff --git a/src/tools/image-to-css/image-to-css.vue b/src/tools/image-to-css/image-to-css.vue index 82eeee23..630dc65c 100644 --- a/src/tools/image-to-css/image-to-css.vue +++ b/src/tools/image-to-css/image-to-css.vue @@ -37,7 +37,7 @@ async function onUpload(file: File) { } } -watch(svgContent, (_, newValue) => { +watch(svgContent, (newValue) => { if (newValue !== '') { fileInput.value = null; } diff --git a/src/tools/torrent-to-magnet/torrent-to-magnet.vue b/src/tools/torrent-to-magnet/torrent-to-magnet.vue index 54d43e17..db7a53e0 100644 --- a/src/tools/torrent-to-magnet/torrent-to-magnet.vue +++ b/src/tools/torrent-to-magnet/torrent-to-magnet.vue @@ -43,7 +43,7 @@ async function onUpload(file: File) { } } -watch(torrentContent, (_, newValue) => { +watch(torrentContent, (newValue) => { if (newValue !== '') { fileInput.value = null; }