Skip to content

Commit

Permalink
Merge branch 'master' of github.com:binary-com/deriv-app into feature…
Browse files Browse the repository at this point in the history
…/wallets_with_traders_hub
  • Loading branch information
nijil-deriv committed May 24, 2023
2 parents 48dcdce + e7eea86 commit 62fc6e6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const AssetSummary = observer(() => {
<React.Fragment>
{!isMobile() ? (
<Text align='right' size='xs' line_height='s'>
{localize('Total asset')}
{localize('Total assets')}
</Text>
) : null}
<Popover
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ const StaticCFDAccountManager = ({
'static-cfd-account-manager__buttons-topup--animated': is_onboarding_animated.trade,
})}
>
<Localize i18n_default_text='Trade' />
<Localize i18n_default_text='Open' />
</Button>
</React.Fragment>
) : (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const StaticTradingAppCard = ({
'static-trading-app-card__button--hidden': !has_applauncher_account,
})}
>
{localize('Trade')}
{localize('Open')}
</Button>
</div>
</div>
Expand Down
10 changes: 5 additions & 5 deletions packages/appstore/src/components/trade-button/trade-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,25 +23,25 @@ const TradeButton = ({
if (new_tab) {
return (
<a href={link_to} target='_blank' rel='noopener noreferrer'>
<Button primary>{localize('Trade')}</Button>
<Button primary>{localize('Open')}</Button>
</a>
);
}
return (
<a href={link_to}>
<Button primary>{localize('Trade')}</Button>
<Button primary>{localize('Open')}</Button>
</a>
);
}
return (
<Link to={link_to}>
<Button primary>{localize('Trade')}</Button>
<Button primary>{localize('Open')}</Button>
</Link>
);
} else if (onAction) {
return (
<Button primary className='trade-button' onClick={() => onAction()} is_disabled={is_buttons_disabled}>
{localize('Trade')}
{localize('Open')}
</Button>
);
}
Expand All @@ -57,7 +57,7 @@ const TradeButton = ({
rel='noopener noreferrer'
>
<Button primary className='trade-button'>
{localize('Trade')}
{localize('Open')}
</Button>
</a>
);
Expand Down

0 comments on commit 62fc6e6

Please sign in to comment.