diff --git a/examples/apps/ai-collab/src/components/UserPresenceGroup.tsx b/examples/apps/ai-collab/src/components/UserPresenceGroup.tsx index 37a5cd13927b..a10785621fa1 100644 --- a/examples/apps/ai-collab/src/components/UserPresenceGroup.tsx +++ b/examples/apps/ai-collab/src/components/UserPresenceGroup.tsx @@ -121,17 +121,28 @@ const UserPresenceGroup: React.FC = ({ {photoUrls.length === 0 ? ( ) : ( - photoUrls.map((photo, index) => ( - - - - )) + <> + {photoUrls.slice(0, 4).map((photo, index) => ( + + + + ))} + {photoUrls.length > 4 && ( + + + + )} + )} );