Skip to content

Commit d79b82d

Browse files
committed
simplify
1 parent deae300 commit d79b82d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/components/SInputFileUpload.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,7 @@ const { t } = useTrans({
8080
8181
const dropZoneEl = ref<HTMLDivElement | null>(null)
8282
83-
const { isOverDropZone } = useDropZone(dropZoneEl, {
84-
onDrop: (files) => onDrop(files)
85-
})
83+
const { isOverDropZone } = useDropZone(dropZoneEl, { onDrop })
8684
8785
const _value = computed(() => {
8886
return props.modelValue !== undefined

0 commit comments

Comments
 (0)