Skip to content

Commit 3be91d2

Browse files
committed
fix: regression in file upload preview remove item
1 parent b8084dd commit 3be91d2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

package/src/components/MessageInput/FileUploadPreview.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ const FileUploadPreviewWithContext = <
165165

166166
// Handler triggered when an audio is loaded in the message input. The initial state is defined for the audio here and the duration is set.
167167
const onLoad = (index: string, duration: number) => {
168-
console.log(index, duration);
169168
setFilesToDisplay((prevFilesUploads) =>
170169
prevFilesUploads.map((fileUpload) => ({
171170
...fileUpload,

0 commit comments

Comments
 (0)