Skip to content

Commit

Permalink
Remove portfolio cta component
Browse files Browse the repository at this point in the history
  • Loading branch information
kattylucy committed Jul 19, 2024
1 parent 7cabb25 commit e6adb32
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions centrifuge-app/src/components/PoolsTokensShared.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Grid, Stack, Text } from '@centrifuge/fabric'
import { Stack, Text } from '@centrifuge/fabric'
import * as React from 'react'
import { config } from '../config'
import { useBasePath } from '../utils/useBasePath'
Expand All @@ -7,7 +7,6 @@ import { CardTotalValueLocked } from './CardTotalValueLocked'
import { LayoutSection } from './LayoutBase/LayoutSection'
import { LoadBoundary } from './LoadBoundary'
import { MenuSwitch } from './MenuSwitch'
import { PortfolioCta } from './PortfolioCta'

type PoolsTokensSharedProps = {
title: string
Expand Down Expand Up @@ -41,14 +40,9 @@ export function PoolsTokensShared({ title, children }: PoolsTokensSharedProps) {
</Text>
</Stack>

<Grid gridTemplateColumns={['1fr', '1fr', '1fr', 'repeat(2, minmax(0, 1fr))']} gap={[2, 2, 2, 4]}>
<LoadBoundary>
<CardTotalValueLocked />
</LoadBoundary>
<LoadBoundary>
<PortfolioCta />
</LoadBoundary>
</Grid>
<LoadBoundary>
<CardTotalValueLocked />
</LoadBoundary>

{isMedium && (
<Stack alignItems="end">
Expand Down

0 comments on commit e6adb32

Please sign in to comment.