dashboard: reimaginacao

Signed-off-by: Rodrigo B. de Sousa Martins <rodrigo.sousa.577@gmail.com>
This commit is contained in:
rodrigo committed 2025-07-15 19:32:09 -03:00
1 parent 9c2df341ea
commit 9160939de2
4 files changed
+5 -8

No files matched your search

@@ -17,7 +17,6 @@ export const BenchmarkingEscritorio: React.FC = () => {
setError(null);
const res = await fetch('/api/benchmarking', {
headers: {
Authorization: `Bearer ${token}`,
'Content-Type': 'application/json',
},
});
@@ -31,7 +30,7 @@ export const BenchmarkingEscritorio: React.FC = () => {
}
}
fetchBenchmarking();
}, [token]);
}, []);
if (loading) return <div>Carregando benchmarking...</div>;
if (error) return <div className="text-red-600">{error}</div>;