diff --git a/src/components/Hero.jsx b/src/components/Hero.jsx index 8849883..5f009f9 100644 --- a/src/components/Hero.jsx +++ b/src/components/Hero.jsx @@ -166,6 +166,14 @@ export function Hero(props) { ...radicalizeBoomersPrepare.config, onError(data) { if (data.message.startsWith('user rejected transaction')) NotificationManager.info(`tx cancelled`, 'ok', 4000); + handleStateChange({ + unaboomerAmount: 0 + }) + }, + onSuccess(data) { + handleStateChange({ + unaboomerAmount: 0 + }) } }); const assembleBombsPrepare = usePrepareContractWrite({ @@ -356,7 +364,7 @@ export function Hero(props) { > )} - {isConnected && JSON.parse(tokensMinted).length > 0 && ( + {isConnected && JSON.parse(tokensMinted).length > 0 && false && (