mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-09 15:51:34 +00:00
Refactor order type filter
This commit is contained in:
parent
6f62e6602f
commit
0bd95814ed
@ -82,7 +82,7 @@ const BookControl = ({
|
||||
if (value === 'sell') {
|
||||
component = <SendReceiveIcon color='primary' />;
|
||||
} else if (value === 'buy') {
|
||||
component = <SendReceiveIcon color='secondary' />;
|
||||
component = <SendReceiveIcon color='secondary' sx={{ transform: 'scaleX(-1)' }} />;
|
||||
} else if (value === 'swapin') {
|
||||
component = <SwapCalls color='primary' />;
|
||||
} else if (value === 'swapout') {
|
||||
@ -154,7 +154,7 @@ const BookControl = ({
|
||||
</MenuItem>
|
||||
<MenuItem value='buy' style={{ width: '8em' }}>
|
||||
<div style={{ display: 'flex', alignItems: 'center', flexWrap: 'wrap' }}>
|
||||
<SendReceiveIcon color='secondary' />
|
||||
<SendReceiveIcon color='secondary' sx={{ transform: 'scaleX(-1)' }} />
|
||||
<Typography sx={{ width: '2em' }} align='right' color='text.secondary'>
|
||||
{' ' + t('Buy')}
|
||||
</Typography>
|
||||
|
Loading…
Reference in New Issue
Block a user