We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d947ffa commit 776ac2cCopy full SHA for 776ac2c
package/src/components/MessageInput/FileUploadPreview.tsx
@@ -161,7 +161,7 @@ const FileUploadPreviewWithContext = <
161
})),
162
);
163
// eslint-disable-next-line react-hooks/exhaustive-deps
164
- }, [fileUploads.length]);
+ }, [fileUploads]);
165
166
// 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.
167
const onLoad = (index: string, duration: number) => {
0 commit comments