From 814d7e72ab8ec2f10d39dd08069ff9c2350029d3 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 21 Jan 2026 10:56:54 +0000 Subject: [PATCH] fix: use parseAddressPointer from nip89-helpers instead of non-existent parseCoordinate --- src/components/nostr/kinds/BaseEventRenderer.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/nostr/kinds/BaseEventRenderer.tsx b/src/components/nostr/kinds/BaseEventRenderer.tsx index cb1c935..01d413f 100644 --- a/src/components/nostr/kinds/BaseEventRenderer.tsx +++ b/src/components/nostr/kinds/BaseEventRenderer.tsx @@ -29,7 +29,8 @@ import { useCopy } from "@/hooks/useCopy"; import { JsonViewer } from "@/components/JsonViewer"; import { formatTimestamp } from "@/hooks/useLocale"; import { nip19 } from "nostr-tools"; -import { getTagValue, parseCoordinate } from "applesauce-core/helpers"; +import { getTagValue } from "applesauce-core/helpers"; +import { parseAddressPointer } from "@/lib/nip89-helpers"; import { getSeenRelays } from "applesauce-core/helpers/relays"; import { EventFooter } from "@/components/EventFooter"; import { cn } from "@/lib/utils"; @@ -520,7 +521,7 @@ export function BaseEventContainer({ const clientName = clientTag?.[1]; const clientAddress = clientTag?.[2]; const parsedClientAddress = clientAddress - ? parseCoordinate(clientAddress) + ? parseAddressPointer(clientAddress) : null; const clientAppPointer = parsedClientAddress?.kind === 31990 ? parsedClientAddress : null;