HomePhabricator

[Cashtab] Do not render mint switch on token page unless user has mint baton

Description

[Cashtab] Do not render mint switch on token page unless user has mint baton

Summary:
Token action page should conditionally render only available options. The Mint option with a long explanation of why it is disabled is not helpful.

Just do not render the mint option if it is not available.

Test Plan: npm test

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

Differential Revision: https://reviews.bitcoinabc.org/D15998

Details

Provenance
bytesofmanAuthored on Apr 17 2024, 11:49
bytesofmanPushed on Apr 17 2024, 13:25
Reviewer
Restricted Project
Differential Revision
D15998: [Cashtab] Do not render mint switch on token page unless user has mint baton
Parents
rABCa026efd24217: [Cashtab] Add functions to build and broadcast NFT1 parent fan-out txs
Branches
Unknown
Tags
Unknown