import { __, sprintf } from '@wordpress/i18n'; import type { JSX } from 'react'; import type { Link } from '../../shared/api/types/links'; import { linkName } from '../../shared/links/linkName'; import { problemOf } from '../../shared/links/problem'; import { StatusDot } from '../../shared/links/ProblemBadges'; import { reasonText } from '../../shared/links/reasonText'; import { openFixPanel } from '../../shared/links/openFixPanel'; import { placesPhrase } from '../../shared/text/countedPhrases'; import { Button } from '../../shared/ui/Button'; export function FixFirstItem( { link }: { link: Link } ): JSX.Element { const openPanel = () => { openFixPanel( link.id ); }; return (