diff --git a/src/lib/components/chat/Controls/Controls.svelte b/src/lib/components/chat/Controls/Controls.svelte index 01118e8a1..25924535a 100644 --- a/src/lib/components/chat/Controls/Controls.svelte +++ b/src/lib/components/chat/Controls/Controls.svelte @@ -37,7 +37,7 @@ className="w-full" item={file} edit={true} - url={`${file?.url}`} + url={file?.url ? file.url : null} name={file.name} type={file.type} size={file?.size}