diff --git a/src/hooks/useWallet.ts b/src/hooks/useWallet.ts index 0ea10e5..49aea42 100644 --- a/src/hooks/useWallet.ts +++ b/src/hooks/useWallet.ts @@ -1,7 +1,6 @@ import { useMemo } from 'react'; import { useNWC } from '@/hooks/useNWCContext'; import { useCashu } from '@/hooks/useCashu'; -import { useNpubCash } from '@/hooks/useNpubCash'; import type { WebLNProvider } from '@webbtc/webln-types'; export interface WalletStatus { @@ -13,15 +12,11 @@ export interface WalletStatus { hasCashu: boolean; cashuBalance: number; isCashuInitialized: boolean; - // npub.cash integration - lightningAddress: string | null; - unclaimedSats: number; } export function useWallet() { const { connections, getActiveConnection } = useNWC(); const { balances, mints, isInitialized: isCashuInitialized } = useCashu(); - const { lightningAddress, unclaimedAmount } = useNpubCash(); // Get the active connection directly - no memoization to avoid stale state const activeNWC = getActiveConnection(); @@ -60,8 +55,6 @@ export function useWallet() { hasCashu, cashuBalance, isCashuInitialized, - lightningAddress, - unclaimedSats: unclaimedAmount, }; return status;