HomePhabricator

[Cashtab] Do not disable amount if value from params is undefined

Description

[Cashtab] Do not disable amount if value from params is undefined

Summary:
Cashtab can parse a tx from URL params address and value. We will deprecate this so that Cashtab parses txs from bip21 strings in the URL.

For now, some PayButton txs pass value=undefined. In this case, the amount input will be disabled.

Do not disable the amount input for this case.

Test Plan: npm test

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
bytesofmanAuthored on Jan 22 2024, 20:24
bytesofmanPushed on Jan 23 2024, 17:27
Reviewer
Restricted Project
Differential Revision
D15239: [Cashtab] Do not disable amount if value from params is undefined
Parents
rABCd323c7af1769: [Cashtab] Improvements to token balance header
Branches
Unknown
Tags
Unknown