diff --git a/package.json b/package.json index b60f59e..ce4575b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "skate-spots", "private": true, - "version": "1.2.38", + "version": "1.2.39", "type": "module", "homepage": "https://skate-spots.com", "scripts": { diff --git a/src/components/wallet/CashuWallet.tsx b/src/components/wallet/CashuWallet.tsx index d39b758..0832adb 100644 --- a/src/components/wallet/CashuWallet.tsx +++ b/src/components/wallet/CashuWallet.tsx @@ -663,12 +663,26 @@ export function CashuWallet() {
- - - - Make sure you have withdrawn all funds from this mint before removing it. - - + {mintToRemove && (balances[mintToRemove.url] || 0) > 0 ? ( + // Real balance at risk — removing deletes the local proofs and + // strands these sats. Make the amount explicit and loud. + + + + Warning: This mint still holds{' '} + {(balances[mintToRemove.url] || 0).toLocaleString()} sats. + Removing it deletes those funds from this device — withdraw or send them first, + or they'll be lost. + + + ) : ( + + + + Make sure you have withdrawn all funds from this mint before removing it. + + + )}