feat(F-048): completed feature
This commit is contained in:
@@ -96,7 +96,7 @@ export default function DashboardPage() {
|
||||
|
||||
useEffect(() => {
|
||||
api
|
||||
.get<Stats>('/admin/stats')
|
||||
.get<Stats>('/api/admin/stats')
|
||||
.then(setStats)
|
||||
.catch(() => setError('No se pudieron cargar las estadísticas'))
|
||||
.finally(() => setLoading(false));
|
||||
|
||||
Reference in New Issue
Block a user