diff --git a/ell-studio/src/pages/Home.js b/ell-studio/src/pages/Home.js index d99d9711..99e215db 100644 --- a/ell-studio/src/pages/Home.js +++ b/ell-studio/src/pages/Home.js @@ -8,7 +8,6 @@ import VersionBadge from '../components/VersionBadge'; import { Code } from 'lucide-react'; import { Card, CardHeader, CardContent } from 'components/common/Card'; import { ScrollArea } from 'components/common/ScrollArea'; -import { Badge } from 'components/common/Badge'; import { ResizablePanelGroup, ResizablePanel, ResizableHandle } from 'components/common/Resizable'; function Home() { @@ -16,6 +15,7 @@ function Home() { const { darkMode } = useTheme(); const { data: lmps, isLoading: isLoadingLMPs } = useLatestLMPs(); const { data: traces, isLoading: isLoadingTraces } = useTraces(lmps); + const toggleExpand = (lmpName, event) => { if (event.target.tagName.toLowerCase() !== 'a') { @@ -45,10 +45,10 @@ function Home() {
- {/* Total LMPs: {lmps.length} */} + Total LMPs: {lmps.length} - {/* Last Updated: {lmps[0] && lmps[0].versions && lmps[0].versions[0] ? getTimeAgo(lmps[0].versions[0].created_at) : 'N/A'} */} + Last Updated: {lmps[0] && lmps[0].versions && lmps[0].versions[0] ? getTimeAgo(lmps[0].versions[0].created_at) : 'N/A'}
@@ -68,23 +68,23 @@ function Home() { onClick={(e) => toggleExpand(lmp.name, e)} > -
+
e.stopPropagation()} > - {truncateId(lmp.name)} + {lmp.name}
- - ID: {truncateId(lmp.lmp_id)} - - - Latest - - -
+ + ID: {truncateId(lmp.lmp_id)} + + + Latest + + +