@@ -3,12 +3,13 @@ import { ChainId, Token } from '@sushiswap/core-sdk'
33import { CurrencyLogo } from 'app/components/CurrencyLogo'
44import DoubleCurrencyLogo from 'app/components/DoubleLogo'
55import Typography from 'app/components/Typography'
6+ import UserTable from 'app/features/analytics/farms/user/UserTable'
67import FormattedChartCard from 'app/features/analytics/FormattedChartCard'
7- import UserTable from 'app/features/user/UserTable'
8+ import useFarmRewardHistories from 'app/features/analytics/hooks/useFarmRewardHistories'
9+ import useFarmRewardsWithUsers from 'app/features/analytics/hooks/useFarmRewardsWithUsers'
810import { formatNumber , formatPercent } from 'app/functions'
9- import useFarmRewardHistories from 'app/hooks/useFarmRewardHistories'
10- import useFarmRewardsWithUsers from 'app/hooks/useFarmRewardsWithUsers'
1111import { TridentBody , TridentHeader } from 'app/layouts/Trident'
12+ import Link from 'next/link'
1213import { useRouter } from 'next/router'
1314import { NextSeo } from 'next-seo'
1415import React , { useMemo } from 'react'
@@ -97,7 +98,27 @@ export default function Pool() {
9798 < Typography variant = "h2" className = "text-high-emphesis" weight = { 700 } >
9899 { token0 && token1 && (
99100 < >
100- { token0 ?. symbol } /{ token1 ?. symbol }
101+ < Link
102+ href = { {
103+ pathname : `/analytics/tokens/${ token0 ?. address } ` ,
104+ query : {
105+ chainId,
106+ } ,
107+ } }
108+ >
109+ { token0 ?. symbol }
110+ </ Link >
111+ /
112+ < Link
113+ href = { {
114+ pathname : `/analytics/tokens/${ token1 ?. address } ` ,
115+ query : {
116+ chainId,
117+ } ,
118+ } }
119+ >
120+ { token1 ?. symbol }
121+ </ Link >
101122 </ >
102123 ) }
103124 </ Typography >
@@ -117,6 +138,14 @@ export default function Pool() {
117138 < div className = "text-xl font-medium text-high-emphesis" > { formatNumber ( farm ?. tvl ?? 0 , true ) } </ div >
118139 </ div >
119140 </ div >
141+ < div className = "flex flex-col" >
142+ < div className = "text-secondary" > Value</ div >
143+ < div className = "flex items-center space-x-2" >
144+ < div className = "text-xl font-medium text-high-emphesis" >
145+ { formatNumber ( farm ?. pair . reserveUSD / farm ?. pair . totalSupply , true ) }
146+ </ div >
147+ </ div >
148+ </ div >
120149 < div className = "flex flex-col" >
121150 < div className = "text-secondary" > Rewards</ div >
122151 < div className = "flex items-center space-x-2" >
0 commit comments