metaplex-foundation / metaplex

A directory of what the Metaplex Foundation works on!
https://metaplex.com
Apache License 2.0
3.31k stars 6.27k forks source link

[Bug]: SoldOut button continues to mint on click. #2011

Closed aungthumoe5 closed 2 years ago

aungthumoe5 commented 2 years ago

Which package is this bug report for?

candy machine ui

Issue description

The mint button should be unclickable once the collection is sold out. The steps to reproduce is as below:

  1. Create candy machine.
  2. Run candy machine ui.
  3. Mint until remaining is 0.
  4. Click SoldOut button again.
  5. (Bug) Transaction is submitted to wallet to mint.
  6. (Bug) If transaction is confirmed, Remaining counter drops to -1.
  7. (Bug) Step 5+6 can be repeated and Remaining counter drops even further.

Command

No response

Relevant log output

No response

Operating system

Mac

Priority this issue should have

Low (slightly annoying)

Check the Docs First

terrier-lover commented 2 years ago

I tried to reproduce the issue but I was not able to do it. In my dev environment, after I minted until the remaining number is 0, the button became disabled like this. Screen Shot 2022-04-03 at 12 39 46 AM

So, the issues mentioned in 5, 6, and 7 cannot be reproduced.

What kind of configuration (config.json) and which version did you use when you encountered the issue?

github-actions[bot] commented 2 years ago

This Issue has received no activity for 30 days. We will close it in 2 days, please reopen if you are still experiencing this issue.