diff --git a/app/components/UI/ReceiveRequest/index.js b/app/components/UI/ReceiveRequest/index.js index 59027ce658d..adeb81bc78c 100644 --- a/app/components/UI/ReceiveRequest/index.js +++ b/app/components/UI/ReceiveRequest/index.js @@ -23,10 +23,7 @@ import GlobalAlert from '../GlobalAlert'; import StyledButton from '../StyledButton'; import ClipboardManager from '../../../core/ClipboardManager'; import { ThemeContext, mockTheme } from '../../../util/theme'; -import { - selectChainId, - selectTicker, -} from '../../../selectors/networkController'; +import { selectChainId } from '../../../selectors/networkController'; import { isNetworkRampSupported } from '../Ramp/utils'; import { createBuyNavigationDetails } from '../Ramp/routes/utils'; import { selectSelectedInternalAccountChecksummedAddress } from '../../../selectors/accountsController'; @@ -271,7 +268,6 @@ ReceiveRequest.contextType = ThemeContext; const mapStateToProps = (state) => ({ chainId: selectChainId(state), - ticker: selectTicker(state), selectedAddress: selectSelectedInternalAccountChecksummedAddress(state), receiveAsset: state.modals.receiveAsset, seedphraseBackedUp: state.user.seedphraseBackedUp, diff --git a/app/components/UI/Swaps/QuotesView.js b/app/components/UI/Swaps/QuotesView.js index ca0b8a17e90..19562a0fe74 100644 --- a/app/components/UI/Swaps/QuotesView.js +++ b/app/components/UI/Swaps/QuotesView.js @@ -1709,16 +1709,12 @@ function SwapsQuotesView({ {(!hasEnoughTokenBalance || !hasEnoughEthBalance) && ( - {`${strings('swaps.you_need')} `} {!hasEnoughTokenBalance && !isSwapsNativeAsset(sourceToken) ? `${renderFromTokenMinimalUnit( missingTokenBalance, sourceToken.decimals, - )} ${ - sourceToken.symbol - // eslint-disable-next-line no-mixed-spaces-and-tabs - } ` + )} ${sourceToken.symbol} ` : `${renderFromWei(missingEthBalance)} ${getTicker(ticker)} `} {!hasEnoughTokenBalance @@ -1727,7 +1723,7 @@ function SwapsQuotesView({ {(isSwapsNativeAsset(sourceToken) || (hasEnoughTokenBalance && !hasEnoughEthBalance)) && ( - {strings('swaps.buy_more', { ticker: getTicker(ticker) })} + {strings('swaps.token_marketplace')} )} diff --git a/app/components/UI/Tokens/TokenList/TokenListFooter/index.tsx b/app/components/UI/Tokens/TokenList/TokenListFooter/index.tsx index c2ea0b42dcc..a20532ee2a0 100644 --- a/app/components/UI/Tokens/TokenList/TokenListFooter/index.tsx +++ b/app/components/UI/Tokens/TokenList/TokenListFooter/index.tsx @@ -88,7 +88,9 @@ export const TokenListFooter = ({ {isBuyableToken && ( - {strings('wallet.add_to_get_started')} + {strings('wallet.token_is_needed_to_continue', { + tokenSymbol: mainToken.symbol, + })}