From 1b31187bd8be8a575c372e4c09069c60072d4b8f Mon Sep 17 00:00:00 2001 From: lgmarchi Date: Tue, 24 Sep 2024 10:12:19 -0300 Subject: [PATCH] Fix upload same file more than one time in chats --- src/lib/elements/Input/FileInput.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/elements/Input/FileInput.svelte b/src/lib/elements/Input/FileInput.svelte index 3b8d84ebc..483e2f501 100644 --- a/src/lib/elements/Input/FileInput.svelte +++ b/src/lib/elements/Input/FileInput.svelte @@ -16,6 +16,7 @@ } dispatch("select", files) fileInput = null + refSelf.value = "" } export function click() {