Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mint button is inactive #19

Open
jaypordy opened this issue Jun 6, 2022 · 7 comments
Open

Mint button is inactive #19

jaypordy opened this issue Jun 6, 2022 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@jaypordy
Copy link

jaypordy commented Jun 6, 2022

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
Copy link
Author

jaypordy commented Jun 6, 2022

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 Connect Wallet to be active).

@Fulgurus
Copy link
Owner

Fulgurus commented Jun 7, 2022

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

@jaypordy
Copy link
Author

jaypordy commented Jun 8, 2022

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

@silentskullsociety
Copy link

@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.

@jaypordy
Copy link
Author

jaypordy commented Jun 9, 2022

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
Copy link
Author

jaypordy commented Jun 9, 2022

{
"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
}

TheBigJouls pushed a commit to TheBigJouls/candy-machine-v2-responsive-ui that referenced this issue Jun 26, 2022
@Fulgurus Fulgurus self-assigned this Jun 30, 2022
@Fulgurus Fulgurus added the enhancement New feature or request label Jun 30, 2022
@munibkhalidhere
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants