diff --git a/packages/webui/components/dashboard/AgentSessionsDashboard.tsx b/packages/webui/components/dashboard/AgentSessionsDashboard.tsx index b2d710c9..f03b53c4 100644 --- a/packages/webui/components/dashboard/AgentSessionsDashboard.tsx +++ b/packages/webui/components/dashboard/AgentSessionsDashboard.tsx @@ -53,7 +53,6 @@ export function AgentSessionsDashboard({ teamId }: AgentSessionsDashboardProps) const allSessions = data?.pages.flatMap((page) => page.data).filter((s) => s.id !== 'pending') || [] - const totalCount = data?.pages[0]?.pageInfo.total ?? allSessions.length const getSessionTypeBadge = (type: string) => { switch (type) { @@ -101,7 +100,7 @@ export function AgentSessionsDashboard({ teamId }: AgentSessionsDashboardProps)