diff --git a/src/components/common/DividendPoolSection.tsx b/src/components/common/DividendPoolSection.tsx index 23696cea..448982c5 100644 --- a/src/components/common/DividendPoolSection.tsx +++ b/src/components/common/DividendPoolSection.tsx @@ -2,6 +2,7 @@ import { useState, useEffect } from 'react'; import { Coins, Clock, CheckCircle, Loader2, ArrowDown } from 'lucide-react'; import { Button } from '@/components/ui/button'; import { formatNumber } from '@/utils/numberFormat.utils'; +import HolderSnapshotHistory from '@/components/common/HolderSnapshotHistory'; interface DividendDistribution { id: string; @@ -162,6 +163,15 @@ export default function DividendPoolSection({ )} +
+ + Holder snapshot history + +
+ +
+
+ {/* Distribution History */} {dividend.distributions.length > 0 && (
diff --git a/src/components/home/DiscoveryFeed.tsx b/src/components/home/DiscoveryFeed.tsx index 0527f8a3..e56d3578 100644 --- a/src/components/home/DiscoveryFeed.tsx +++ b/src/components/home/DiscoveryFeed.tsx @@ -90,7 +90,7 @@ export default function DiscoveryFeed() { // Create filter query params for marketplace links const sortParam = (sort: string) => - sort === 'volume_desc' ? '/marketplace' : `/marketplace?sort=${sort}`; + `/marketplace?sort=${sort}`; return (
diff --git a/src/pages/StakingDashboardPage.tsx b/src/pages/StakingDashboardPage.tsx index 3dd53e9b..bf2ee818 100644 --- a/src/pages/StakingDashboardPage.tsx +++ b/src/pages/StakingDashboardPage.tsx @@ -575,7 +575,7 @@ function StakingDashboardContent() { accent="amber" /> { expect(telegramLink).toHaveAttribute('rel', 'noopener noreferrer'); }); }); + +it('keeps both community links external in the same render', () => { + render(); + + for (const name of [/github/i, /telegram/i]) { + const link = screen.getByRole('link', { name }); + expect(link).toHaveAttribute('target', '_blank'); + expect(link).toHaveAttribute('rel', 'noopener noreferrer'); + } + });