Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Dashboard] Enhance NFT Reveal feature (#5862)
TOOL-2730 TOOL-2733 TOOL-2738 [x] Dont show Reveal-button if nothing to reveal [x] Dont allow to select batches that were revealed already [x] Show UI for the un-revealed. metadata <!-- start pr-codex --> --- ## PR-Codex overview This PR updates the `nfts/components/reveal-button.tsx` file to enhance the NFT reveal functionality by adding a tooltip and handling cases for revealed batches. It also modifies a comment in `next-env.d.ts` to point to the correct documentation link. ### Detailed summary - Updated documentation link in `next-env.d.ts`. - Imported `ToolTipLabel` in `nfts/components/reveal-button.tsx`. - Added a check to return `null` if no batches are available. - Implemented logic to display a tooltip and disabled button when all batches are revealed. - Disabled options in the select dropdown for revealed batches. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
- Loading branch information