import { useTranslation } from "renderer/hooks/use-translation.hook"; import { Supporter } from "shared/models/supporters"; import { SupporterItem } from "./supporter-item.component"; interface Props { className?: string; title: string; supporters: Supporter[]; } export function SupportersBlock({ className, title, supporters }: Props) { const t = useTranslation(); const someDelay = () => { const [min, max] = [0, 0.55]; const baseDelay = 0.15; return baseDelay + Math.random() * (max - min) + min; }; return (