Skip to content

Commit

Permalink
disabled displaying of total tvl on zkvem network
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeSnooker committed Aug 13, 2023
1 parent f5d1b89 commit 8c7f808
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/AnalyticsPage/AnalyticsOverview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { useDispatch } from 'react-redux';
import { setAnalyticsLoaded } from 'state/analytics/actions';
import { useActiveWeb3React, useAnalyticsVersion } from 'hooks';
import AnalyticsExtraInfo from './AnalyticsExtraInfo';
import { ChainId } from '@uniswap/sdk';

dayjs.extend(utc);

Expand Down Expand Up @@ -122,7 +123,9 @@ const AnalyticsOverview: React.FC = () => {

return (
<Box width='100%' mb={3}>
<AnalyticsExtraInfo data={globalData} chainId={chainId} />
{(chainId === ChainId.DOGECHAIN || chainId === ChainId.MATIC) && (
<AnalyticsExtraInfo data={globalData} chainId={chainId} />
)}
<Grid container spacing={4}>
<Grid item xs={12} sm={12} md={6}>
<Box className='panel' width={1}>
Expand Down

0 comments on commit 8c7f808

Please sign in to comment.