HomePhabricator

[Cashtab] Correct proptypes validation for settings

Description

[Cashtab] Correct proptypes validation for settings

Summary:
T2281

This prop is initialized as false as part of loading the parameter and validating it. This diff adjusts the proptypes validation to accept bool as well as object

Test Plan:
npm start from master and see react proptype error in dev console.
npm start from this branch and see react proptype error is gone

Reviewers: #bitcoin_abc, kieran709

Reviewed By: #bitcoin_abc, kieran709

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

Details

Provenance
bytesofmanAuthored on Mar 3 2022, 00:57
bytesofmanPushed on Mar 8 2022, 17:36
Reviewer
Restricted Project
Differential Revision
D11124: [Cashtab] Correct proptypes validation for settings
Parents
rABC812861103b5a: [Cashtab] Fix fee calculation for one to many txs
Branches
Unknown
Tags
Unknown