HomePhabricator

[Cashtab] Patch proptypes in BalanceHeader

Description

[Cashtab] Patch proptypes in BalanceHeader

Summary:
lingering copypasta prop type and proptypes does not support | syntax for 'or'

If they are not required props, just use PropTypes.number, which supports null or undefined.

Test Plan:
npm start and nothing in the dev console about invalid prop types

Note: proptypes are a dev tool, this doesn't impact the built app

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
bytesofmanAuthored on Jan 24 2024, 00:15
bytesofmanPushed on Jan 24 2024, 14:30
Reviewer
Restricted Project
Differential Revision
D15260: [Cashtab] Patch proptypes in BalanceHeader
Parents
rABC307ee9e448ec: [chronik-client] Add block and blocks methods to in-node chronik-client
Branches
Unknown
Tags
Unknown