mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-05 08:23:35 +00:00
address testing warnings
This commit is contained in:
1 parent
61fc4957e0
commit
b66a31bc18
4 files changed
+4
-8
No files matched your search
@@ -400,7 +400,7 @@ export function CashuWallet() {
|
||||
mintQuoteUnsubscribeRef.current = null;
|
||||
}
|
||||
};
|
||||
}, []);
|
||||
}, [mintQuoteUnsubscribeRef]);
|
||||
|
||||
// ============================================================================
|
||||
// RENDER
|
||||
|
||||
@@ -21,5 +21,4 @@ export function useCashuContext(): UseCashuReturn {
|
||||
}
|
||||
|
||||
return context;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -89,7 +89,7 @@ export function useMintManager({
|
||||
description: err instanceof Error ? err.message : 'Unknown error',
|
||||
});
|
||||
}
|
||||
}, [mintUrl, coco, mints, toast]);
|
||||
}, [mintUrl, coco, mints]);
|
||||
|
||||
// Show remove confirmation modal
|
||||
const handleRemoveMintClick = useCallback((mint: CashuMint) => {
|
||||
@@ -142,7 +142,6 @@ export function useMintManager({
|
||||
activeMintUrl,
|
||||
handleSetActiveMint,
|
||||
repositories,
|
||||
toast,
|
||||
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
|
||||
|
||||
@@ -343,8 +343,6 @@ export function useWalletTransactions({
|
||||
lightningAddressInput,
|
||||
lightningAddressAmount,
|
||||
pendingLightningAddress,
|
||||
pendingInvoice,
|
||||
decodedInvoiceAmount,
|
||||
activeMintUrl,
|
||||
toast,
|
||||
getEncodedToken,
|
||||
|
||||
Reference in new issue
Block a user