address testing warnings

This commit is contained in:
lemonknowsall committed 2025-10-20 23:10:01 -07:00
1 parent 61fc4957e0
commit b66a31bc18
4 files changed
+4 -8

No files matched your search

+1 -1
View File
@@ -400,7 +400,7 @@ export function CashuWallet() {
mintQuoteUnsubscribeRef.current = null; mintQuoteUnsubscribeRef.current = null;
} }
}; };
}, []); }, [mintQuoteUnsubscribeRef]);
// ============================================================================ // ============================================================================
// RENDER // RENDER
+1 -2
View File
@@ -21,5 +21,4 @@ export function useCashuContext(): UseCashuReturn {
} }
return context; return context;
} }
+2 -3
View File
@@ -89,7 +89,7 @@ export function useMintManager({
description: err instanceof Error ? err.message : 'Unknown error', description: err instanceof Error ? err.message : 'Unknown error',
}); });
} }
}, [mintUrl, coco, mints, toast]); }, [mintUrl, coco, mints]);
// Show remove confirmation modal // Show remove confirmation modal
const handleRemoveMintClick = useCallback((mint: CashuMint) => { const handleRemoveMintClick = useCallback((mint: CashuMint) => {
@@ -142,7 +142,6 @@ export function useMintManager({
activeMintUrl, activeMintUrl,
handleSetActiveMint, handleSetActiveMint,
repositories, repositories,
toast,
refreshMints, refreshMints,
]); ]);
@@ -201,7 +200,7 @@ export function useMintManager({
}); });
} }
}, },
[repositories, toast] [repositories]
); );
// Auto-select first mint when mints change, or add default mint if none exist // Auto-select first mint when mints change, or add default mint if none exist
-2
View File
@@ -343,8 +343,6 @@ export function useWalletTransactions({
lightningAddressInput, lightningAddressInput,
lightningAddressAmount, lightningAddressAmount,
pendingLightningAddress, pendingLightningAddress,
pendingInvoice,
decodedInvoiceAmount,
activeMintUrl, activeMintUrl,
toast, toast,
getEncodedToken, getEncodedToken,