diff --git a/site/src/pages/AgentsPage/AgentAnalyticsPage.tsx b/site/src/pages/AgentsPage/AgentAnalyticsPage.tsx index 1203f72322..c1875ab92d 100644 --- a/site/src/pages/AgentsPage/AgentAnalyticsPage.tsx +++ b/site/src/pages/AgentsPage/AgentAnalyticsPage.tsx @@ -2,6 +2,7 @@ import dayjs, { type Dayjs } from "dayjs"; import { type FC, useState } from "react"; import { useQuery } from "react-query"; import { chatCostSummary } from "#/api/queries/chats"; +import { ScrollArea } from "#/components/ScrollArea/ScrollArea"; import { useAuthContext } from "#/contexts/auth/AuthProvider"; import { AgentAnalyticsPageView } from "./AgentAnalyticsPageView"; import { AgentPageHeader } from "./components/AgentPageHeader"; @@ -35,7 +36,7 @@ const AgentAnalyticsPage: FC = ({ now }) => { }); return ( - <> + = ({ now }) => { onRetry={() => void summaryQuery.refetch()} rangeLabel={dateRange.rangeLabel} /> - + ); }; diff --git a/site/src/pages/AgentsPage/AgentAnalyticsPageView.tsx b/site/src/pages/AgentsPage/AgentAnalyticsPageView.tsx index 37985aa061..79d9235040 100644 --- a/site/src/pages/AgentsPage/AgentAnalyticsPageView.tsx +++ b/site/src/pages/AgentsPage/AgentAnalyticsPageView.tsx @@ -20,7 +20,7 @@ export const AgentAnalyticsPageView: FC = ({ rangeLabel, }) => { return ( -
+
{ @@ -8,18 +9,18 @@ const AgentSettingsPage: FC = () => { const section = match?.[1]; return ( - <> + -
+
- + ); };