1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00
metamask-extension/ui
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
..
app Refactor TokenBalance component (#8752) 2020-06-05 17:19:27 -03:00
lib fix: handle trailing / in block explorer URLs 2020-05-14 17:15:17 +08:00
index.js Add switch to connected account alert (#8532) 2020-05-12 10:01:52 -03:00