Skip to content
This repository was archived by the owner on Aug 13, 2026. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions dist/web.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions dist/web.umd.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/components/Bot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1823,7 +1823,7 @@ export const Bot = (botProps: BotProps & { class?: string }) => {
};

const handleDrop = async (e: InputEvent | DragEvent) => {
if (!uploadsConfig()?.isImageUploadAllowed && !isFileUploadAllowed) {
if (!uploadsConfig()?.isImageUploadAllowed && !isFileUploadAllowed()) {
return;
}
e.preventDefault();
Comment thread
SyncWithRaj marked this conversation as resolved.
Outdated
Expand Down Expand Up @@ -1925,7 +1925,7 @@ export const Bot = (botProps: BotProps & { class?: string }) => {
};

const onRecordingCancelled = () => {
if (!recordingNotSupported) cancelAudioRecording();
if (!recordingNotSupported()) cancelAudioRecording();
setIsRecording(false);
setRecordingNotSupported(false);
};
Expand Down