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:
Uncle Stretch 2026-11-14 17:11:03 +03:00
parent 12b943abf8
commit feb3c34455
Signed by: str3tch
GPG Key ID: 84F3190747EE79AA
2 changed files with 9 additions and 9 deletions

View File

@ -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",

View File

@ -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>