mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 04:20:53 +01:00
Revert "Show a 'send eth' button on home screen in full screen mode" (#9910)
This commit is contained in:
parent
198b503f94
commit
e90bddf44f
@ -13,13 +13,11 @@ import {
|
||||
getCurrentAccountWithSendEtherInfo,
|
||||
getNativeCurrency,
|
||||
getShouldShowFiat,
|
||||
getSelectedAddress,
|
||||
} from '../../../selectors'
|
||||
import { useCurrencyDisplay } from '../../../hooks/useCurrencyDisplay'
|
||||
|
||||
const AssetList = ({ onClickAsset }) => {
|
||||
const history = useHistory()
|
||||
const selectedAddress = useSelector((state) => getSelectedAddress(state))
|
||||
const selectedAccountBalance = useSelector(
|
||||
(state) => getCurrentAccountWithSendEtherInfo(state).balance,
|
||||
)
|
||||
@ -71,7 +69,6 @@ const AssetList = ({ onClickAsset }) => {
|
||||
onClick={() => onClickAsset(nativeCurrency)}
|
||||
data-testid="wallet-balance"
|
||||
primary={primaryCurrencyProperties.value}
|
||||
tokenAddress={selectedAddress}
|
||||
tokenSymbol={primaryCurrencyProperties.suffix}
|
||||
secondary={showFiat ? secondaryCurrencyDisplay : undefined}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user