don't show warnings if it's a swap

This commit is contained in:
Paul Miller
2023-06-09 11:36:20 -05:00
parent 23af8f576c
commit cff499888b
3 changed files with 6 additions and 1 deletions

View File

@@ -365,6 +365,7 @@ export default function Swap() {
setAmountSats={setAmountSats}
fee={feeEstimate()?.toString()}
isAmountEditable={true}
skipWarnings={true}
/>
<Show when={amountWarning() && amountSats() > 0n}>
<InfoBox accent={"red"}>{amountWarning()}</InfoBox>