diff --git a/src/template/Sections.jsx b/src/template/Sections.jsx index 1a233ad..5173ebe 100644 --- a/src/template/Sections.jsx +++ b/src/template/Sections.jsx @@ -418,18 +418,20 @@ function Section3() {

Sending bombs will burn your BOMB token and kill a BOOMR token at random. Be careful not to kill yourself in the process.

There are {options.unaboomersRadicalized - options.unaboomersKilled} BOOMR available to kill

-

- sendBombsWrite.write?.()}> - {sendBombsWrite.isLoading && <>sending {options.sendBombAmount}} - {sendBombsWrite.isIdle && <>send {options.sendBombPreviewAmount} (~0 Ξ)} - {sendBombsWrite.isSuccess && <>sent} - {sendBombsWrite.isError && <>error} - -

- handleStateChange({sendBombAmount: v})} onChange={(v) => { - handleStateChange({sendBombPreviewAmount: v}); - sendBombsWrite.reset(); - }} /> + {options.bombBalance > 0 && (<> +

+ sendBombsWrite.write?.()}> + {sendBombsWrite.isLoading && <>sending {options.sendBombAmount}} + {sendBombsWrite.isIdle && <>send {options.sendBombPreviewAmount} (~0 Ξ)} + {sendBombsWrite.isSuccess && <>sent} + {sendBombsWrite.isError && <>error} + +

+ handleStateChange({sendBombAmount: v})} onChange={(v) => { + handleStateChange({sendBombPreviewAmount: v}); + sendBombsWrite.reset(); + }} /> + ) ||

no bombs

}