Skip to content

Commit

Permalink
chore: fixed the hard coded broker name (deriv-com#10923)
Browse files Browse the repository at this point in the history
  • Loading branch information
hirad-deriv authored Nov 3, 2023
1 parent cbfd670 commit 2d4df12
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/cfd/src/Containers/dmt5-trade-modal.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React from 'react';

import { DetailsOfEachMT5Loginid } from '@deriv/api-types';
import { Icon, Money, Text } from '@deriv/components';
import {
Expand All @@ -11,7 +10,7 @@ import {
isMobile,
} from '@deriv/shared';
import { Localize, localize } from '@deriv/translations';
import { getPlatformMt5DownloadLink } from '../Helpers/constants';
import { getPlatformMt5DownloadLink, getBrokerName } from '../Helpers/constants';
import SpecBox from '../Components/specbox';
import PasswordBox from '../Components/passwordbox';
import TradingPlatformIcon from '../Assets/svgs/trading-platform';
Expand Down Expand Up @@ -101,7 +100,7 @@ const DMT5TradeModal = ({
<div className='cfd-trade-modal__login-specs'>
<div className='cfd-trade-modal__login-specs-item'>
<Text className='cfd-trade-modal--paragraph'>{localize('Broker')}</Text>
<SpecBox is_bold is_broker value={'Deriv.com Limited'} />
<SpecBox is_bold is_broker value={getBrokerName()} />
</div>
<div className='cfd-trade-modal__login-specs-item'>
<Text className='cfd-trade-modal--paragraph'>{localize('Server')}</Text>
Expand Down

0 comments on commit 2d4df12

Please sign in to comment.