1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00
metamask-extension/ui/app
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
..
components Refactor TokenBalance component (#8752) 2020-06-05 17:19:27 -03:00
contexts Implement asset page (#8696) 2020-06-01 14:54:32 -03:00
css Fix connect hardware styling (#8680) 2020-05-28 11:47:48 -07:00
ducks Implement asset page (#8696) 2020-06-01 14:54:32 -03:00
helpers Refactor TokenBalance component (#8752) 2020-06-05 17:19:27 -03:00
hooks refactor token list (#8726) 2020-06-04 13:13:11 -05:00
pages Refactor TokenBalance component (#8752) 2020-06-05 17:19:27 -03:00
selectors Handle connected accounts with no last active time (#8746) 2020-06-05 13:07:23 -03:00
store Implement asset page (#8696) 2020-06-01 14:54:32 -03:00