Move type import to line. v2

This commit is contained in:
Chad Curtis committed 2025-10-05 21:11:47 +00:00
1 parent c3c41ca4b3
commit aac77d05bd
1 file changed
+2 -1
+2 -1
View File
@@ -29,6 +29,7 @@ import { useWallet } from '@/hooks/useWallet';
import { useToast } from '@/hooks/useToast';
import { useIsMobile } from '@/hooks/useIsMobile';
import type { NWCConnection, NWCInfo } from '@/hooks/useNWC';
import type { WebLNProvider } from "@webbtc/webln-types";
interface WalletModalProps {
children?: React.ReactNode;
@@ -68,7 +69,7 @@ AddWalletContent.displayName = 'AddWalletContent';
// Extracted WalletContent to prevent re-renders
const WalletContent = forwardRef<HTMLDivElement, {
webln: import('@webbtc/webln-types').WebLNProvider | null;
webln: WebLNProvider | null;
hasNWC: boolean;
connections: NWCConnection[];
connectionInfo: Record<string, NWCInfo>;