diff --git a/src/lib/components/Input.svelte b/src/lib/components/Input.svelte index 6b1c2417..8e887bd9 100644 --- a/src/lib/components/Input.svelte +++ b/src/lib/components/Input.svelte @@ -31,7 +31,6 @@ if (['.mp4', '.webm'].some(format => files[0]?.name?.includes(format)) ) { videoInput = URL.createObjectURL(files[0]); - console.log(videoInput) } else { @@ -127,10 +126,11 @@ function handleDrop(e) { const handleCancel= () => { -inputValue = ''; -showVideo = false; + inputValue = ''; + showVideo = false; } - let isHovering = false; + +let isHovering = false; $: { @@ -175,10 +175,10 @@ $: { Drop here to upload {/if} - We support jpg/jpeg, png, webp, mp4 and gif. + We support jpg/jpeg, png, webp and mp4. - File must be smaller than 10MB. + File must be smaller than 5MB.