From 912794f4e056b66c3dd5439e55051961c98bd98d Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 22 Dec 2025 14:04:46 +0000 Subject: [PATCH] chore: lint fix --- src/components/nostr/kinds/ReactionRenderer.tsx | 4 +++- src/hooks/useStable.ts | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/nostr/kinds/ReactionRenderer.tsx b/src/components/nostr/kinds/ReactionRenderer.tsx index dfdcd4c..1d052a5 100644 --- a/src/components/nostr/kinds/ReactionRenderer.tsx +++ b/src/components/nostr/kinds/ReactionRenderer.tsx @@ -56,7 +56,9 @@ export function Kind7Renderer({ event }: BaseEventProps) { const reactedAddress = aTag?.[1]; // Format: kind:pubkey:d-tag // Parse a tag coordinate using applesauce helper - const addressPointer = reactedAddress ? parseCoordinate(reactedAddress) : null; + const addressPointer = reactedAddress + ? parseCoordinate(reactedAddress) + : null; // Create event pointer for fetching const eventPointer = useMemo(() => { diff --git a/src/hooks/useStable.ts b/src/hooks/useStable.ts index 82d95ac..5bd2400 100644 --- a/src/hooks/useStable.ts +++ b/src/hooks/useStable.ts @@ -61,7 +61,10 @@ export function useStableFilters(filters: T): T { // Only update if filters actually changed (per isFilterEqual) if ( !prevFiltersRef.current || - !isFilterEqual(prevFiltersRef.current as Filter | Filter[], filters as Filter | Filter[]) + !isFilterEqual( + prevFiltersRef.current as Filter | Filter[], + filters as Filter | Filter[], + ) ) { prevFiltersRef.current = filters; }