import FollowDistanceIndicator from "@/Element/User/FollowDistanceIndicator"; import ProfileImage from "@/Element/User/ProfileImage"; import { FormattedMessage } from "react-intl"; import { Fragment } from "react"; import { ProfileLink } from "@/Element/User/ProfileLink"; import DisplayName from "@/Element/User/DisplayName"; import { socialGraphInstance } from "@snort/system"; const MAX_FOLLOWED_BY_FRIENDS = 3; export default function FollowedBy({ pubkey }: { pubkey: string }) { const followedByFriends = socialGraphInstance.followedByFriends(pubkey); const followedByFriendsArray = Array.from(followedByFriends).slice(0, MAX_FOLLOWED_BY_FRIENDS); return (