Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 6 additions & 16 deletions staking-dashboard/src/components/Provider/ProviderTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { CopyButton } from "@/components/CopyButton"
import { AvatarImage } from "@/components/AvatarImage"
import { TooltipIcon } from "@/components/Tooltip"
import { type ProviderListItem, type SortField, type SortDirection, type NotAssociatedStake } from "@/hooks/providers/useProviderTable"
import { ManualPayoutNotice } from "@/components/Provider/ManualPayoutNotice"
import { useStakingAssetTokenDetails } from "@/hooks/stakingRegistry"
import { formatBipsToPercentage } from "@/utils/formatNumber"
import { formatTokenAmount, stringToBigInt } from "@/utils/atpFormatters"
Expand Down Expand Up @@ -92,21 +91,12 @@ function ProviderRow({
size="md"
/>
<div>
<div className="flex items-center gap-2 flex-wrap">
<button
onClick={() => navigate(`/providers/${provider.id}`)}
className="font-oracle-triple-book font-medium text-parchment hover:text-chartreuse transition-colors text-left"
>
{provider.name}
</button>
{provider.manualPayoutAuditUrl && (
<ManualPayoutNotice
auditUrl={provider.manualPayoutAuditUrl}
variant="badge"
providerName={provider.name}
/>
)}
</div>
<button
onClick={() => navigate(`/providers/${provider.id}`)}
className="font-oracle-triple-book font-medium text-parchment hover:text-chartreuse transition-colors text-left"
>
{provider.name}
</button>
<div className="flex items-center gap-2">
<span className="text-xs text-parchment/60 font-mono">
{displayAddress?.slice(0, 8)}...{displayAddress?.slice(-6)}
Expand Down
Loading