1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 19:10:22 +01:00
metamask-extension/ui/app/pages/send/send-content
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
..
add-recipient Remove unused getToErrorObject parameters (#8705) 2020-05-29 15:31:57 -03:00
send-amount-row Use send state for send flow token (#8695) 2020-05-29 14:46:10 -03:00
send-asset-row Refactor TokenBalance component (#8752) 2020-06-05 17:19:27 -03:00
send-gas-row Use send state for send flow token (#8695) 2020-05-29 14:46:10 -03:00
send-hex-data-row
send-row-wrapper Consolidate and dedupe send selectors (#8506) 2020-05-04 12:06:28 -07:00
tests
index.js
send-content.component.js
send-content.container.js Consolidate and dedupe send selectors (#8506) 2020-05-04 12:06:28 -07:00