Skip to content

Commit 6312226

Browse files
authored
Fix for empty chat input (#1002)
1 parent fc60e94 commit 6312226

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/web/src/components/InputChatContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ const InputChatContent: React.FC<Props> = (props) => {
102102

103103
const disabledSend = useMemo(() => {
104104
return (
105-
props.content === '' ||
105+
props.content.trim() === '' ||
106106
props.disabled ||
107107
uploading ||
108108
errorMessages.length > 0

0 commit comments

Comments
 (0)