mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-20 21:23:08 +03:00
fix: invalid watch callback
This commit is contained in:
1 parent
a3161e9afe
commit
461dabf362
3 files changed
+3
-3
No files matched your search
@@ -34,7 +34,7 @@ async function onUpload(file: File) {
|
||||
}
|
||||
}
|
||||
|
||||
watch(icalContent, (_, newValue) => {
|
||||
watch(icalContent, (newValue) => {
|
||||
if (newValue !== '') {
|
||||
fileInput.value = null;
|
||||
}
|
||||
|
||||
@@ -37,7 +37,7 @@ async function onUpload(file: File) {
|
||||
}
|
||||
}
|
||||
|
||||
watch(svgContent, (_, newValue) => {
|
||||
watch(svgContent, (newValue) => {
|
||||
if (newValue !== '') {
|
||||
fileInput.value = null;
|
||||
}
|
||||
|
||||
@@ -43,7 +43,7 @@ async function onUpload(file: File) {
|
||||
}
|
||||
}
|
||||
|
||||
watch(torrentContent, (_, newValue) => {
|
||||
watch(torrentContent, (newValue) => {
|
||||
if (newValue !== '') {
|
||||
fileInput.value = null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user