-
-
-
- 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.
+
+
+ )}