Skip to content

Commit

Permalink
Exchange switcher is now shorter.
Browse files Browse the repository at this point in the history
  • Loading branch information
murillojorge committed Aug 29, 2020
1 parent 5cf9ff0 commit 1f22756
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/routes/Evodex/BackLayer/Exchange/ExchangeBackLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const useStyles = makeStyles((theme) => ({
'& svg': {
color: '#fff',
fontSize: 30,
margin: theme.spacing(3, 0)
margin: theme.spacing(1, 0)
},
[theme.breakpoints.up('sm')]: {
flexDirection: 'row'
Expand Down Expand Up @@ -210,11 +210,11 @@ const ExchangeBackLayer = ({ onReload, ual, isLightMode, showMessage }) => {
if (token === pair.pool1.asset.symbol.code().toString().toUpperCase()) {
result = `Pool: ${
pair.pool1.asset.toString().split(' ')[0]
} (${pair.pool1.asset.symbol.code().toString().toLowerCase()}.token)`
} (${pair.pool1.asset.symbol.code().toString().toLowerCase()}.token)`
} else {
result = `Pool: ${
pair.pool2.asset.toString().split(' ')[0]
} (${pair.pool2.asset.symbol.code().toString().toLowerCase()}.token)`
} (${pair.pool2.asset.symbol.code().toString().toLowerCase()}.token)`
}

setHelperTextReceive(result)
Expand Down Expand Up @@ -360,7 +360,7 @@ const ExchangeBackLayer = ({ onReload, ual, isLightMode, showMessage }) => {

setHelperTextReceive(
`Pool: ${
exchangeState.currentPair.pool2.asset.toString().split(' ')[0]
exchangeState.currentPair.pool2.asset.toString().split(' ')[0]
} (${exchangeState.currentPair.pool2.asset.symbol
.code()
.toString()
Expand Down

0 comments on commit 1f22756

Please sign in to comment.