Skip to content

Commit 2a34a35

Browse files
committed
feat: support last cycle modal button
1 parent 68a561b commit 2a34a35

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

  • apps/evm/src/pages/PrimeLeaderboard/EndOfCycle

apps/evm/src/pages/PrimeLeaderboard/EndOfCycle/index.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { cn } from '@venusprotocol/ui';
1+
import { Button, cn } from '@venusprotocol/ui';
22
import ReactCountdown from 'react-countdown';
33

44
import { Card } from 'components';
@@ -49,7 +49,10 @@ export const EndOfCycle: React.FC<EndOfCycleProps> = ({ endDate, className }) =>
4949
values={{ deadline }}
5050
components={{
5151
bold: <span className="text-b1s text-white" />,
52-
summaryLink: <span className="text-b1s text-blue underline" />,
52+
// TODO: open the last cycle summary modal once it's available
53+
summaryLink: (
54+
<Button variant="text" className="h-auto p-0 text-b1s text-blue underline" />
55+
),
5356
}}
5457
/>
5558
</p>

0 commit comments

Comments
 (0)