Page MenuHomePhabricator

[Cashtab] Correct proptypes validation for settings
ClosedPublic

Authored by bytesofman on Mar 3 2022, 00:58.

Details

Reviewers
kieran709
Group Reviewers
Restricted Project
Commits
rABC2733eb6c7f28: [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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable