mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-03 08:07:21 +00:00
Move type import to line. v2
This commit is contained in:
1 parent
c3c41ca4b3
commit
aac77d05bd
1 file changed
+2
-1
@@ -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>;
|
||||
|
||||
Reference in new issue
Block a user