Page MenuHomePhabricator

[Cashtab] Prevent .map error in TxHistory
ClosedPublic

Authored by bytesofman on Dec 6 2022, 00:31.

Details

Reviewers
emack
Group Reviewers
Restricted Project
Commits
rABC31595faa0358: [Cashtab] Prevent .map error in TxHistory
Summary

T2837

If parsedTxHistory is not an array, pass an empty array to the TxHistory component

Test Plan

npm start
Try to recreate the error described in D12759 and the task description.
Hopefully, fail

Diff Detail

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

Event Timeline

emack added a subscriber: emack.

Can confirm this is no longer crapping out

This revision is now accepted and ready to land.Dec 6 2022, 11:55