@agents24/chat-react 0.5.25 → 0.5.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agents24/chat-react",
3
- "version": "0.5.25",
3
+ "version": "0.5.27",
4
4
  "description": "Accessible web UI and complete default layout for Agents24 chat applications.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -160,7 +160,7 @@ export function ChatComposer({
160
160
  const showUtilityRow = utilityRow === "below"
161
161
 
162
162
  const submit = async () => {
163
- if (disabled || submittingRef.current || validationError) return
163
+ if (disabled || isCancelling || submittingRef.current || validationError) return
164
164
  const value = text
165
165
  const selectedFiles = files
166
166
  const clearedRevision = draftRevisionRef.current + 1