From 3ec9ec264d3acba390f4916aede23321f4edde67 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 20 Jan 2026 13:28:37 +0000 Subject: [PATCH] fix(chat): fix import errors in Communikey renderers - Import getTagValue from applesauce-core/helpers instead of @/lib/nostr-utils - Fix Label size prop (use "sm" instead of "xs") - Remove unused identifier variable in CommunikeyRenderer --- src/components/nostr/kinds/CommunikeyDetailRenderer.tsx | 5 +++-- src/components/nostr/kinds/CommunikeyRenderer.tsx | 9 +++------ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/components/nostr/kinds/CommunikeyDetailRenderer.tsx b/src/components/nostr/kinds/CommunikeyDetailRenderer.tsx index 388ee18..8f5e568 100644 --- a/src/components/nostr/kinds/CommunikeyDetailRenderer.tsx +++ b/src/components/nostr/kinds/CommunikeyDetailRenderer.tsx @@ -1,5 +1,6 @@ import type { NostrEvent } from "@/types/nostr"; -import { getTagValue, getTagValues } from "@/lib/nostr-utils"; +import { getTagValues } from "@/lib/nostr-utils"; +import { getTagValue } from "applesauce-core/helpers"; import { useProfile } from "@/hooks/useProfile"; import { UserName } from "../UserName"; import { Label } from "@/components/ui/label"; @@ -164,7 +165,7 @@ export function CommunikeyDetailRenderer({ {section.kinds.length > 0 && (
{section.kinds.map((kind) => ( -