Timothy J. Baek 7 tháng trước cách đây
mục cha
commit
650ca95784
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/lib/components/chat/Controls/Controls.svelte

+ 1 - 1
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}