mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
5d5a196525814a1914bcb3b26b20cfaefc9199be
Added hasRequestedRef to track if a git diff request was already made for the current agentId. This prevents duplicate requests when the requestGitDiff function reference changes due to store updates. The issue was that requestGitDiff in the useEffect dependency array caused an infinite loop: request → store update → new function ref → effect re-runs → request again. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Languages
TypeScript
98.1%
JavaScript
1.3%
Shell
0.1%
Swift
0.1%