trufflesuite / drizzle-react-components-legacy

A set of useful components for common dapp UI elements.
95 stars 70 forks source link

Warnings in Develoment Branch; Failed prop type #90

Closed mwaeckerlin closed 5 years ago

mwaeckerlin commented 5 years ago

There are some Warnings in the development branch that should be eliminated:

Warning: Failed prop type: Invalid prop accounts of type object supplied to LoadingContainer, expected an array. in LoadingContainer

Warning: Failed prop type: Invalid prop contracts of type object supplied to ContractData, expected array. in ContractData

mwaeckerlin commented 5 years ago

As far as I understand, in popTypes contracts: should be PropTypes.object.isRequired instead of PropTypes.array.isRequired.