Mohamed BoudraandClaude 473e11d25f Fix stale closure bug in agent-input-area message handlers
Replace direct `agentId` prop usage with `agentIdRef.current` to prevent
messages from being sent to the wrong agent during navigation.

Fixed 3 instances:
- handleSendMessage: Line 383
- handleSendQueuedNow: Line 869
- handleCancelAgent: Line 834

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 17:17:54 +00:00
S
Description
No description provided
Apache-2.0
188 MiB
0 Stars 1 Watchers 0 Forks
Languages
TypeScript 90.7%
Kotlin 2.1%
JavaScript 1.8%
Objective-C 1.6%
C++ 1.6%
Other 1.9%