mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-09 15:40:55 +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
|
<Divider
|
||||||
testId="Main__page__coin__menu__divider"
|
testId="Main__page__coin__menu__divider"
|
||||||
textLeft={<FormattedMessage {...l10nMessages.TR_OTHER_COINS} />}
|
textLeft={<FormattedMessage {...l10nMessages.TR_OTHER_COINS} />}
|
||||||
textRight={<FormattedMessage {...l10nMessages.TR_YOU_WILL_BE_REDIRECTED} />}
|
|
||||||
hasBorder
|
hasBorder
|
||||||
/>
|
/>
|
||||||
{this.getOtherCoins()}
|
{this.getOtherCoins()}
|
||||||
|
@ -7,10 +7,6 @@ const definedMessages: Messages = defineMessages({
|
|||||||
id: 'TR_OTHER_COINS',
|
id: 'TR_OTHER_COINS',
|
||||||
defaultMessage: 'Other coins',
|
defaultMessage: 'Other coins',
|
||||||
},
|
},
|
||||||
TR_YOU_WILL_BE_REDIRECTED: {
|
|
||||||
id: 'TR_YOU_WILL_BE_REDIRECTED',
|
|
||||||
defaultMessage: '(You will be redirected)',
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
|
|
||||||
export default definedMessages;
|
export default definedMessages;
|
||||||
|
@ -27,7 +27,7 @@ const TextLeft = styled.p`
|
|||||||
const Divider = ({ textLeft, textRight, hasBorder = false, className, testId }) => (
|
const Divider = ({ textLeft, textRight, hasBorder = false, className, testId }) => (
|
||||||
<Wrapper data-test={testId} hasBorder={hasBorder} className={className}>
|
<Wrapper data-test={testId} hasBorder={hasBorder} className={className}>
|
||||||
<TextLeft>{textLeft}</TextLeft>
|
<TextLeft>{textLeft}</TextLeft>
|
||||||
<p>{textRight}</p>
|
{textRight && <p>{textRight}</p>}
|
||||||
</Wrapper>
|
</Wrapper>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user