EspeoBlockchain/gardener-monitor

Monitor crash after request is showed on a list

Closed this issue · 2 comments

After a while from getting the request, monitor is crashed with the following error:
Objects are not valid as a React child (found: object with keys {_hex}). If you meant to render a collection of children, use an array instead. in td (at Request.tsx:24) in tr (at Request.tsx:19) in Request (at RequestList.tsx:75) in tbody (at RequestList.tsx:66) in table (at RequestList.tsx:65) in RequestList (at App.tsx:16) in div (at App.tsx:9) in App (at src/index.tsx:8)

The bug is related with types mismatch. Now errorCode for Request is a BigNumber instead of string.

Solution comes with:
#8