From 92ea6e347b2518e9185083abf11ebdac4eb4eaf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20G=C3=B3mez?= Date: Fri, 20 Mar 2026 10:52:34 +0100 Subject: [PATCH] fix: convert potential numbers (cached NIP-11 supported_nips) to strings --- src/components/nostr/RelaySupportedNips.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/nostr/RelaySupportedNips.tsx b/src/components/nostr/RelaySupportedNips.tsx index 15a2366..a13a2f0 100644 --- a/src/components/nostr/RelaySupportedNips.tsx +++ b/src/components/nostr/RelaySupportedNips.tsx @@ -1,7 +1,7 @@ import { NIPBadge } from "@/components/NIPBadge"; interface RelaySupportedNipsProps { - nips: string[]; + nips: (string | number)[]; title?: string; showTitle?: boolean; } @@ -28,7 +28,7 @@ export function RelaySupportedNips({ {nips.map((nip) => ( ))}