fix: remove unused imports and parameters in NIP-89 renderers

This commit is contained in:
Claude
2026-01-04 21:24:49 +00:00
parent 2adfe5bb68
commit b981dae5a9
2 changed files with 1 additions and 4 deletions

View File

@@ -19,7 +19,6 @@ import {
Smartphone,
TabletSmartphone,
Package,
ExternalLink,
} from "lucide-react";
import { useState } from "react";
@@ -133,7 +132,7 @@ function HandlerCard({
Platforms
</h4>
<div className="flex flex-wrap gap-2">
{Object.entries(platformUrls).map(([plat, url]) => (
{Object.entries(platformUrls).map(([plat]) => (
<Badge
key={plat}
variant="secondary"

View File

@@ -6,7 +6,6 @@ import {
import {
getRecommendedKind,
getHandlerReferences,
formatAddressPointer,
getAppName,
} from "@/lib/nip89-helpers";
import { KindBadge } from "@/components/KindBadge";
@@ -40,7 +39,6 @@ function PlatformIcon({ platform }: { platform: string }) {
function HandlerItem({
address,
platform,
relayHint,
}: {
address: { kind: number; pubkey: string; identifier: string };
platform?: string;