Skip to content

Commit

Permalink
Hotfix: remove tvl graph
Browse files Browse the repository at this point in the history
  • Loading branch information
kattylucy committed Sep 26, 2024
1 parent 6dde8af commit 937ba59
Showing 1 changed file with 10 additions and 19 deletions.
29 changes: 10 additions & 19 deletions centrifuge-app/src/pages/Pools.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import { Box, Stack, Text } from '@centrifuge/fabric'
import { Stack, Text } from '@centrifuge/fabric'
import * as React from 'react'
import { CardTotalValueLocked } from '../components/CardTotalValueLocked'
import { LayoutBase } from '../components/LayoutBase'
import { LayoutSection } from '../components/LayoutBase/LayoutSection'
import { LoadBoundary } from '../components/LoadBoundary'
import { PoolList } from '../components/PoolList'
import { prefetchRoute } from '../components/Root'
import { config } from '../config'
Expand All @@ -16,22 +14,15 @@ export default function PoolsPage() {
return (
<LayoutBase>
<LayoutSection py={5}>
<Stack gap={4}>
<Stack>
<Text as="h1" variant="heading1">
Pools
</Text>
<Text as="p" variant="heading4">
{`Pools ${
config.network === 'centrifuge' ? 'on Centrifuge let investors earn yield from real-world assets' : ''
}`}
</Text>
</Stack>
<Box width="50%">
<LoadBoundary>
<CardTotalValueLocked />
</LoadBoundary>
</Box>
<Stack mb={2}>
<Text as="h1" variant="heading1">
Pools
</Text>
<Text as="p" variant="heading4">
{`Pools ${
config.network === 'centrifuge' ? 'on Centrifuge let investors earn yield from real-world assets' : ''
}`}
</Text>
</Stack>
<PoolList />
</LayoutSection>
Expand Down

0 comments on commit 937ba59

Please sign in to comment.