feat: implement axios client with interceptors, dashboard caching, and core application modules
This commit is contained in:
@@ -34,6 +34,7 @@ export const Dashboard: React.FC = () => {
|
||||
batchAudited: 0,
|
||||
batchPending: 0,
|
||||
batchAnomaliesFound: 0,
|
||||
firstPendingIndex: -1,
|
||||
}
|
||||
);
|
||||
// Only show loading spinner if there's no cached result for these filters
|
||||
@@ -106,7 +107,6 @@ export const Dashboard: React.FC = () => {
|
||||
fetchStats();
|
||||
}, [currentFilterKey]); // eslint-disable-line react-hooks/exhaustive-deps
|
||||
|
||||
const progressPercent = stats.batchTotal > 0 ? Math.round((stats.batchAudited / stats.batchTotal) * 100) : 0;
|
||||
|
||||
return (
|
||||
<Box sx={{ width: '100%', maxWidth: '100vw', display: 'flex', flexDirection: 'column' }}>
|
||||
|
||||
Reference in New Issue
Block a user