fix: use refs for agent dispatch in QR pick polling
Prevents stale closure issues when the setTimeout fires after modal close. Also stops polling immediately after first pick to avoid duplicate agent runs.
N
Nathan 🔶 Tarbert committed
cf6780b8aa5983dbf2907e6d1fa8d881d20494c6
Parent: 324c82a