|
|
@@ -18,6 +18,7 @@ interface LPInfo {
|
|
|
}
|
|
|
|
|
|
interface RecordInfo {
|
|
|
+ liquidityUsd: string
|
|
|
walletAddress: string
|
|
|
poolAddress: string
|
|
|
nftMintAddress: string
|
|
|
@@ -196,8 +197,8 @@ function MyLPPageContent() {
|
|
|
},
|
|
|
{
|
|
|
title: 'Total Deposit',
|
|
|
- dataIndex: 'totalDeposit',
|
|
|
- key: 'totalDeposit',
|
|
|
+ dataIndex: 'liquidityUsd',
|
|
|
+ key: 'liquidityUsd',
|
|
|
render: (text: string) => (
|
|
|
<span className="font-mono text-sm">${Number(text).toFixed(2)}</span>
|
|
|
),
|
|
|
@@ -215,7 +216,9 @@ function MyLPPageContent() {
|
|
|
dataIndex: 'pnlUsd',
|
|
|
key: 'pnlUsdPercent',
|
|
|
render: (text: string) => (
|
|
|
- <span className="font-mono text-sm">{Number(text).toFixed(2)}%</span>
|
|
|
+ <span className="font-mono text-sm">
|
|
|
+ {(Number(text) * 100).toFixed(2)}%
|
|
|
+ </span>
|
|
|
),
|
|
|
},
|
|
|
{
|
|
|
@@ -231,7 +234,9 @@ function MyLPPageContent() {
|
|
|
dataIndex: 'earnedUsdPercent',
|
|
|
key: 'earnedUsdPercent',
|
|
|
render: (text: string) => (
|
|
|
- <span className="font-mono text-sm">{Number(text).toFixed(2)}%</span>
|
|
|
+ <span className="font-mono text-sm">
|
|
|
+ {(Number(text) * 100).toFixed(2)}%
|
|
|
+ </span>
|
|
|
),
|
|
|
},
|
|
|
{
|
|
|
@@ -239,7 +244,9 @@ function MyLPPageContent() {
|
|
|
dataIndex: 'earnedUsdPercent',
|
|
|
key: 'earnedUsdPercent',
|
|
|
render: (text: string) => (
|
|
|
- <span className="font-mono text-sm">{Number(text).toFixed(2)}%</span>
|
|
|
+ <span className="font-mono text-sm">
|
|
|
+ {(Number(text) * 100).toFixed(2)}%
|
|
|
+ </span>
|
|
|
),
|
|
|
},
|
|
|
{
|