mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-15 21:08:57 +00:00
Merge pull request #436 from trezor/fix/remove-you-will-be-redirected
Fix/Remove "you will be redirected" from coins menu
This commit is contained in:
commit
90a6e7e158
@ -89,7 +89,6 @@ class CoinMenu extends PureComponent<Props> {
|
||||
<Divider
|
||||
testId="Main__page__coin__menu__divider"
|
||||
textLeft={<FormattedMessage {...l10nMessages.TR_OTHER_COINS} />}
|
||||
textRight={<FormattedMessage {...l10nMessages.TR_YOU_WILL_BE_REDIRECTED} />}
|
||||
hasBorder
|
||||
/>
|
||||
{this.getOtherCoins()}
|
||||
|
@ -7,10 +7,6 @@ const definedMessages: Messages = defineMessages({
|
||||
id: 'TR_OTHER_COINS',
|
||||
defaultMessage: 'Other coins',
|
||||
},
|
||||
TR_YOU_WILL_BE_REDIRECTED: {
|
||||
id: 'TR_YOU_WILL_BE_REDIRECTED',
|
||||
defaultMessage: '(You will be redirected)',
|
||||
},
|
||||
});
|
||||
|
||||
export default definedMessages;
|
||||
|
@ -27,7 +27,7 @@ const TextLeft = styled.p`
|
||||
const Divider = ({ textLeft, textRight, hasBorder = false, className, testId }) => (
|
||||
<Wrapper data-test={testId} hasBorder={hasBorder} className={className}>
|
||||
<TextLeft>{textLeft}</TextLeft>
|
||||
<p>{textRight}</p>
|
||||
{textRight && <p>{textRight}</p>}
|
||||
</Wrapper>
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user