no show minted

master
lza_menace 2 years ago
parent 7621ca976b
commit 80b7583d4e

@ -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 && (
<div id="userInventory">
<h1>You Minted</h1>
<div className="ownedTokens">

Loading…
Cancel
Save