mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-23 10:30:04 +01:00
9a1f27fe04
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. |
||
---|---|---|
.. | ||
constants | ||
higher-order-components | ||
utils |