diff --git a/app/[lang]/(hyperjump)/components/clients.tsx b/app/[lang]/(hyperjump)/components/clients.tsx index 03f95b627..b0012367c 100644 --- a/app/[lang]/(hyperjump)/components/clients.tsx +++ b/app/[lang]/(hyperjump)/components/clients.tsx @@ -1,33 +1,36 @@ +"use client"; + import Image from "next/image"; type Client = { - imageUrl: string; name: string; + imageUrl: string; }; type ClientsProps = { - isPriorityLoad?: boolean; clients: Client[]; }; -export function Clients({ - clients = [], - isPriorityLoad = false -}: ClientsProps) { +export function Clients({ clients }: ClientsProps) { + if (clients.length === 0) return null; + + const repeatedClients = Array(4).fill(clients).flat(); + return ( -