candy-machine-v2-responsive-ui icon indicating copy to clipboard operation
candy-machine-v2-responsive-ui copied to clipboard

Mint button is inactive

Open jaypordy opened this issue 3 years ago • 7 comments

Fresh clone of the latest build, when the wallet is not connected, the mint button says "Connecting.." instead of "Connect Wallet" like it used to in the previous builds.

image

jaypordy avatar Jun 06 '22 13:06 jaypordy

Did some more digging around, I think {!candyMachine is triggered by default even when the wallet is not connected instead of !wallet ? (which points to <ConnectButton>Connect Wallet</ConnectButton> to be active).

jaypordy avatar Jun 06 '22 17:06 jaypordy

Thanks for the feedback @jaypordy , on my way to fix that.

Fulgurus avatar Jun 07 '22 20:06 Fulgurus

@Fulgurus hate being a nail under the foot but are we closer to getting this fixed?

jaypordy avatar Jun 08 '22 13:06 jaypordy

@Fulgurus so it seems if your candy machine doesn't have a count down date and whitelist that some errors will be thrown in the console but I am not sure if that's related to the mint button not being active.

Home.tsx(666,32):

'Countdown' cannot be used as a JSX component.
  Its instance type 'Countdown' is not a valid JSX element.
    The types returned by 'render()' are incompatible between these types.

also go a Uncaught ReferenceError: process is not defined that I couldn't figure out.

silentskullsociety avatar Jun 09 '22 01:06 silentskullsociety

I do have a golive date set up and only difference from the default config file is that I have the gatekeeper turned off.

Mint button gets activated once the wallet is connected however, it's just that when the wallet is not connected, BOTH Mint button and the top wallet balance/button do not invoke the <Connect Button>. Top wallet button has the "Select wallet" option not the usual <Connect Button> . My understanding is <Connected Button> is not invoked in either places when the wallet is not connected.

Edit: No WL or presales as well. Just the public mint.

jaypordy avatar Jun 09 '22 04:06 jaypordy

{ "price": 0.99, "number": 2222, "gatekeeper": null, "solTreasuryAccount": "xxxx", "splTokenAccount": null, "splToken": null, "goLiveDate": "18 Jun 2022 12:00:00 CST", "endSettings": null, "whitelistMintSettings": null, "hiddenSettings": null, "storage": "arweave-sol", "ipfsInfuraProjectId": null, "ipfsInfuraSecret": null, "awsS3Bucket": null, "nftStorageKey": null, "noRetainAuthority": false, "noMutable": false }

jaypordy avatar Jun 09 '22 04:06 jaypordy

in home component, there is a place where you have used connectbutton with text 'connect wallet', there is [ wallet ? ], add wallet.wallet in both place

munibkhalidhere avatar Aug 05 '22 11:08 munibkhalidhere