Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update agents status in group #4012

Merged
merged 2 commits into from
Mar 20, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions packages/client/src/routes/home.tsx
Original file line number Diff line number Diff line change
@@ -206,7 +206,6 @@ export default function Home() {
<div className="grid grid-cols-1 sm:grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4 p-2 auto-rows-fr">
{roomsData &&
Array.from(roomsData.entries()).map(([roomId, roomArray]) => {
const thumbnail = roomArray.length > 0 ? roomArray[0]?.metadata?.thumbnail : null;
const roomName = roomArray.length > 0 ? roomArray[0]?.name : null;
return (
<ProfileCard
@@ -227,15 +226,7 @@ export default function Home() {
}}
>
<div className="brightness-[100%] hover:brightness-[107%] w-full h-full flex items-center justify-center">
{thumbnail ? (
<img
src={thumbnail as string}
alt="Room Thumbnail"
className="w-full h-full object-cover"
/>
) : (
formatAgentName(roomName ?? '')
)}
{formatAgentName(roomName ?? '')}
</div>
</div>
}