mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-11 16:07:15 +02:00
63c77e8125438b046bc1716c3d84ab12bc7a5e7c
The $contacts alias in REQ command was broken due to an object reference issue. The contact list pointer object was being created inline on every render, causing useNostrEvent to treat it as a new pointer each time and disrupting the subscription. Now properly memoize the pointer object so it only changes when accountPubkey or needsAccount actually changes, ensuring stable subscriptions and proper contact list retrieval. Fixes the $contacts alias resolution in REQ commands.
Languages
TypeScript
98.9%
CSS
0.8%
JavaScript
0.3%