1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-23 10:30:04 +01:00
metamask-extension/ui/app/helpers
Mark Stacey 9a1f27fe04
Refactor TokenBalance component (#8752)
The `TokenBalance` component now uses the new `useTokenTracker` hook
instead of the `withTokenTracker` higher-order component. The component
was converted from a split container/component to a functional
component so that the hook could be used.

The prop `withSymbol` was removed from a few call sites, as it was no
longer used. An empty string was substituted for any falsy `string` or
`symbol` because that's what the `withTokenTracker` higher-order
component did.
2020-06-05 17:19:27 -03:00
..
constants Implement asset page (#8696) 2020-06-01 14:54:32 -03:00
higher-order-components Refactor TokenBalance component (#8752) 2020-06-05 17:19:27 -03:00
utils Add MESSAGE_TYPE enum (#8743) 2020-06-04 16:22:45 -03:00