diff --git a/src/components/Hero.jsx b/src/components/Hero.jsx index 7d85326..a41ccf6 100644 --- a/src/components/Hero.jsx +++ b/src/components/Hero.jsx @@ -235,7 +235,9 @@ export function Hero(props) {
+ +
{options.unaboomersMinted > 0 && (You have minted {options.unaboomersMinted} Unaboomers. @@ -248,7 +250,7 @@ export function Hero(props) { && options.unaboomersKilled + options.unaboomersRadicalized < options.unaboomerMaxSupply && ( <> - { + { handleStateChange({unaboomerAmount: v.target.value}); radicalizeBoomersWrite.reset() }}> @@ -273,10 +275,31 @@ export function Hero(props) {
Don't let the Boomers win, fight back! Assemble a mailbomb and blow 'em to smithereens.
- (Warning: Some bombs are duds!)
+ (Warning: Some bombs are duds!)
(.01 ETH)
+ {options.bombBalance > 0 && ( ++ You have {options.bombBalance} Mailbombs. +
+ )} +({ethers.utils.formatEther((options.bombPrice * options.bombAmount).toString())} ETH)
+ > + )}(0 ETH)
+ {isConnected + && options.unaboomersKilled < options.unaboomerMaxSupply - options.unaboomerMaxSurvivorCount + && ( + <> + { + handleStateChange({sendBombAmount: v.target.value}); + sendBombsWrite.reset() + }}> + +(tx fee)
+ > + ) + }