Skip to content

Warning: Failed prop type: Invalid prop token.decimals of type string supplied to TokenAsset, expected number #10665

@ryanml

Description

@ryanml
backend.js:32 Warning: Failed prop type: Invalid prop `token.decimals` of type `string` supplied to `TokenAsset`, expected `number`.
    in TokenAsset (created by Asset)
    in Asset (created by Context.Consumer)
    in Route (created by Authenticated)
    in Authenticated (created by ConnectFunction)
    in ConnectFunction (created by Routes)
    in Switch (created by Routes)
  1. Go to Add A custom token
  2. Enter an NFT, such as CX (Cryptokitties) - 0x06012c8cf97bead5deae237070f9587f8e7a266d
  3. Note that the decimals are set to 0 and cannot be changed.
  4. Finish adding, click in to the detail view for the asset and observe the error

Metadata

Metadata

Assignees

Labels

type-bugSomething isn't working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions