mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 09:57:02 +01:00
clean up and adds a code fence (#19005)
This commit is contained in:
parent
c5954e73ec
commit
229906d09a
@ -11,7 +11,9 @@ import {
|
||||
import { NETWORK_TO_NAME_MAP } from '../../../../shared/constants/network';
|
||||
|
||||
import { PageContainerFooter } from '../../ui/page-container';
|
||||
///: BEGIN:ONLY_INCLUDE_IN(build-main,build-beta,build-flask)
|
||||
import Button from '../../ui/button';
|
||||
///: END:ONLY_INCLUDE_IN
|
||||
import ActionableMessage from '../../ui/actionable-message/actionable-message';
|
||||
import SenderToRecipient from '../../ui/sender-to-recipient';
|
||||
|
||||
@ -251,6 +253,7 @@ const ConfirmPageContainer = (props) => {
|
||||
{t('insufficientCurrencyBuyOrDeposit', [
|
||||
nativeCurrency,
|
||||
networkName,
|
||||
///: BEGIN:ONLY_INCLUDE_IN(build-main,build-beta,build-flask)
|
||||
<Button
|
||||
type="inline"
|
||||
className="confirm-page-container-content__link"
|
||||
@ -269,6 +272,7 @@ const ConfirmPageContainer = (props) => {
|
||||
>
|
||||
{t('buyAsset', [nativeCurrency])}
|
||||
</Button>,
|
||||
///: END:ONLY_INCLUDE_IN
|
||||
])}
|
||||
</Text>
|
||||
) : (
|
||||
|
@ -280,7 +280,6 @@ export const mapDispatchToProps = (dispatch) => {
|
||||
updateTransactionGasFees: (gasFees) => {
|
||||
dispatch(updateGasFees({ ...gasFees, expectHexWei: true }));
|
||||
},
|
||||
showBuyModal: () => dispatch(showModal({ name: 'DEPOSIT_ETHER' })),
|
||||
addToAddressBookIfNew: (newAddress, toAccounts, nickname = '') => {
|
||||
const hexPrefixedAddress = addHexPrefix(newAddress);
|
||||
if (addressIsNew(toAccounts, hexPrefixedAddress)) {
|
||||
|
Loading…
Reference in New Issue
Block a user