Fixup some vue warnings

This commit is contained in:
Johannes Zellner
2025-08-07 20:03:03 +02:00
parent 9528e26487
commit 37ed1f750e
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
<script setup>
import { useTemplateRef, ref, watch } from 'vue';
import { useTemplateRef, ref, watchEffect } from 'vue';
import { Button } from '@cloudron/pankow';
const fileInput = useTemplateRef('fileInput');
@@ -12,7 +12,7 @@ const internalSrc = ref('');
const isChanged = ref(false);
const busy = ref(false);
watch(() => {
watchEffect(() => {
internalSrc.value = props.src;
});