Skip to content

Commit

Permalink
feat: change UST to $
Browse files Browse the repository at this point in the history
  • Loading branch information
jbamlee committed Dec 7, 2022
1 parent 065f7e9 commit 444ade5
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/pages/Dashboard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ const Dashboard = () => {
</div>
</Row>
<div style={{ fontSize: 18, fontWeight: 700, marginBottom: 14 }}>
$
{formatMoney(
Number(
lookup(
Expand All @@ -260,7 +261,6 @@ const Dashboard = () => {
)
)
)}
&nbsp;UST
</div>
<Chart
type="line"
Expand Down Expand Up @@ -340,8 +340,8 @@ const Dashboard = () => {
/>
</div>
<div>
{token0Symbol}-{token1Symbol} /&nbsp;
{formatMoney(Number(lookup(volumeUst, UST)))} UST
{token0Symbol}-{token1Symbol} /&nbsp; $
{formatMoney(Number(lookup(volumeUst, UST)))}
</div>
</Link>
)
Expand Down Expand Up @@ -460,8 +460,8 @@ const Dashboard = () => {
/>
</div>
<div>
{token0Symbol}-{token1Symbol} /&nbsp;
{formatMoney(Number(lookup(liquidityUst, UST)))} UST
{token0Symbol}-{token1Symbol} /&nbsp; $
{formatMoney(Number(lookup(liquidityUst, UST)))}
</div>
</Link>
)
Expand Down Expand Up @@ -558,7 +558,7 @@ const Dashboard = () => {
width: 230,
Cell: ({ cell: { value } }: any) => (
<span>
{formatMoney(Number(lookup(`${value}`, UST)))} UST
${formatMoney(Number(lookup(`${value}`, UST)))}
</span>
),
},
Expand All @@ -574,7 +574,7 @@ const Dashboard = () => {
width: 230,
Cell: ({ cell: { value } }: any) => (
<span>
{formatMoney(Number(lookup(`${value}`, UST)))} UST
${formatMoney(Number(lookup(`${value}`, UST)))}
</span>
),
},
Expand All @@ -596,10 +596,10 @@ const Dashboard = () => {
const { volumeUst } = original
return (
<span>
$
{formatMoney(
Number(lookup(`${volumeUst * 0.003}`, UST))
)}{" "}
UST
)}
</span>
)
},
Expand Down

0 comments on commit 444ade5

Please sign in to comment.