diff --git a/src/components/Task/CardMultiTasks.tsx b/src/components/Task/CardMultiTasks.tsx index 16ab870..1d59e58 100644 --- a/src/components/Task/CardMultiTasks.tsx +++ b/src/components/Task/CardMultiTasks.tsx @@ -1,5 +1,6 @@ import { Grid, CardMedia, CardContent, Typography, Card } from "@mui/material"; import { styled } from "@mui/material/styles"; +import { ethers } from "ethers"; import { TaskFront } from "src/models/task"; const CardAddAction = styled(Card)<{ $loading: boolean }>( @@ -90,7 +91,7 @@ export const CardMultiTasks = ({ multiTasksData, loading, page }) => { {!loading && item?.title} - {!loading && `${item?.reward} MATIC`} + {!loading && `${ethers.utils.formatEther(item?.reward)} MATIC`} { marginLeft: isSmallScreen ? 'auto' : 'unset', }} > - Reward {taskData.reward} USD + Reward {ethers.utils.formatEther(taskData.reward)} USD