set reward and cost in correct order for mobile version of exodus
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
parent
12b943abf8
commit
feb3c34455
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "ghost-dao-interface",
|
"name": "ghost-dao-interface",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.8.17",
|
"version": "0.8.18",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
|
|||||||
@ -86,22 +86,22 @@ const ExodusItem = ({
|
|||||||
<Typography>{nativeMetadata.symbol} Cost</Typography>
|
<Typography>{nativeMetadata.symbol} Cost</Typography>
|
||||||
<Typography>{
|
<Typography>{
|
||||||
formatCurrency(
|
formatCurrency(
|
||||||
currentTwapPrice(gasPrice * item.gasUsed).toString(),
|
new DecimalBigNumber(gasPrice * item.gasUsed, 18),
|
||||||
5,
|
5,
|
||||||
ftsoSymbol
|
nativeMetadata.symbol
|
||||||
)
|
)
|
||||||
}</Typography>
|
}</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
<Box display="flex" flexDirection="column">
|
<Box display="flex" flexDirection="column">
|
||||||
<Typography>Reward</Typography>
|
<Typography>Reward</Typography>
|
||||||
<Typography>
|
<Typography>{
|
||||||
{formatCurrency(
|
formatCurrency(
|
||||||
new DecimalBigNumber(gasPrice * item.gasUsed, 18),
|
currentTwapPrice(gasPrice * item.gasUsed).toString(),
|
||||||
5,
|
5,
|
||||||
nativeMetadata.symbol
|
ftsoSymbol
|
||||||
)}
|
)
|
||||||
</Typography>
|
}</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
</Box>
|
</Box>
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user