mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-12 08:27:27 +02:00
fix: remove unused imports and parameters in NIP-89 renderers
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user