import React from 'react'; import { Link } from 'react-router-dom'; import VerificationBadge from 'soapbox/components/verification_badge'; import { useAccount, useAppSelector } from 'soapbox/hooks'; import { Card, CardBody, CardTitle, HStack, Stack, Text } from '../../components/ui'; import ActionButton from '../ui/components/action-button'; import type { Account } from 'soapbox/types/entities'; const SuggestionItem = ({ accountId }: { accountId: string }) => { const account = useAccount(accountId) as Account; return ( {account.acct} {account.verified && } @{account.acct}
); }; const FeedSuggestions = () => { const suggestedProfiles = useAppSelector((state) => state.suggestions.items); return ( View all {suggestedProfiles.slice(0, 4).map((suggestedProfile) => ( ))} ); }; export default FeedSuggestions;