From c3c41ca4b3bfeffedad862dd97b9b6437179e439 Mon Sep 17 00:00:00 2001 From: Chad Curtis Date: Sun, 5 Oct 2025 21:10:57 +0000 Subject: [PATCH] Move type import to line. --- src/components/ZapDialog.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/ZapDialog.tsx b/src/components/ZapDialog.tsx index 934dfa6..c50bf20 100644 --- a/src/components/ZapDialog.tsx +++ b/src/components/ZapDialog.tsx @@ -33,6 +33,7 @@ import { useWallet } from '@/hooks/useWallet'; import { useIsMobile } from '@/hooks/useIsMobile'; import type { Event } from 'nostr-tools'; import QRCode from 'qrcode'; +import type { WebLNProvider } from "@webbtc/webln-types"; interface ZapDialogProps { target: Event; @@ -55,7 +56,7 @@ interface ZapContentProps { isZapping: boolean; qrCodeUrl: string; copied: boolean; - webln: import('@webbtc/webln-types').WebLNProvider | null; + webln: WebLNProvider | null; handleZap: () => void; handleCopy: () => void; openInWallet: () => void;