diff --git a/serviceradar-next/src/components/NodeList.jsx b/serviceradar-next/src/components/NodeList.jsx index 1bed0d1..0aa0f77 100644 --- a/serviceradar-next/src/components/NodeList.jsx +++ b/serviceradar-next/src/components/NodeList.jsx @@ -13,7 +13,6 @@ function NodeList({ initialNodes = [] }) { const [nodesPerPage] = useState(10); const [sortBy, setSortBy] = useState('name'); const [sortOrder, setSortOrder] = useState('asc'); - const [viewMode, setViewMode] = useState('table'); // Use the improved API client with 30 second polling instead of 10 const { data: nodes, error, isLoading } = useAPIData('/api/nodes', initialNodes, 30000); @@ -179,9 +178,6 @@ function NodeList({ initialNodes = [] }) { )} - {/* Main content */} - {viewMode === 'table' && renderTableView()} - {/* Pagination */} {pageCount > 1 && (