Ver Fonte

explorer: use 2 decimals for TVL

Kevin Peters há 3 anos atrás
pai
commit
b13c565e59
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      explorer/src/pages/index.tsx

+ 1 - 1
explorer/src/pages/index.tsx

@@ -218,7 +218,7 @@ const IndexPage = ({ location }: PageProps) => {
                 borderTop: "1px solid white",
               }}
             >
-              <Typography sx={featuredNumber}>${amountFormatter(tvl)}</Typography>
+              <Typography sx={featuredNumber}>${amountFormatter(tvl, 2)}</Typography>
               <Typography variant="body2">in TVL</Typography>
             </Box>}
             <Box