Skip to content

Commit

Permalink
farrah/80516/fixed currency dropdown style (binary-com#6865)
Browse files Browse the repository at this point in the history
* fixed currency style

* refactor code
  • Loading branch information
farrah-deriv authored and adrienne-deriv committed Nov 17, 2022
1 parent b57a4cd commit d0cc45c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/p2p/src/stores/buy-sell-store.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react';
import { action, computed, observable, reaction, makeObservable } from 'mobx';
import { formatMoney, getDecimalPlaces, isMobile } from '@deriv/shared';
import { Text } from '@deriv/components';
import { localize } from 'Components/i18next';
import { buy_sell } from 'Constants/buy-sell';
import { requestWS } from 'Utils/websocket';
Expand Down Expand Up @@ -548,7 +549,9 @@ export default class BuySellStore extends BaseStore {
component: (
<div className='currency-dropdown__list-item'>
<div>{symbol}</div>
<div>{display_name}</div>
<Text as='div' align='right' size='xs' line_height='xxs'>
{display_name}
</Text>
</div>
),
has_adverts,
Expand Down

0 comments on commit d0cc45c

Please sign in to comment.