HomePhabricator

[Cashtab] Add used dependency to dev dependencies

Description

[Cashtab] Add used dependency to dev dependencies

Summary:
We use prop-types to throw warnings in dev environment if components have props of the wrong type

This used to be bundled with React by default. It isn't anymore. Import is still working as it is a dependency of other things like eslint. But it should be specified as a dev dependency of Cashtab.

Test Plan: npm test, npm run build

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
bytesofmanAuthored on Jan 24 2024, 00:19
bytesofmanPushed on Jan 24 2024, 14:32
Reviewer
Restricted Project
Differential Revision
D15261: [Cashtab] Add used dependency to dev dependencies
Parents
rABCe69469a48a4a: [Cashtab] Patch proptypes in BalanceHeader
Branches
Unknown
Tags
Unknown