diff --git a/src/components/run/RunsTable.tsx b/src/components/run/RunsTable.tsx index a3b8dfd4..53d29433 100644 --- a/src/components/run/RunsTable.tsx +++ b/src/components/run/RunsTable.tsx @@ -133,7 +133,6 @@ export const RunsTable: React.FC = ({ const [rows, setRows] = useState([]); const [searchTerm, setSearchTerm] = useState(''); - const [isLoading, setIsLoading] = useState(true); const [paginationStates, setPaginationStates] = useState({}); @@ -212,7 +211,6 @@ export const RunsTable: React.FC = ({ const fetchRuns = useCallback(async () => { try { - setIsLoading(true); const runs = await getStoredRuns(); if (runs) { const parsedRows: Data[] = runs.map((run: any, index: number) => ({ @@ -225,8 +223,6 @@ export const RunsTable: React.FC = ({ } } catch (error) { notify('error', t('runstable.notifications.fetch_error')); - } finally { - setIsLoading(false); } }, [notify, t]); @@ -364,14 +360,6 @@ export const RunsTable: React.FC = ({ : ; }, [accordionSortConfigs]); - if (isLoading) { - return ( - - - - ); - } - return (