Fix infinite loading bug on dashboard page

This commit is contained in:
2026-09-22 18:02:49 +05:30
parent fedb4a755d
commit 2326b3baa7

View File

@@ -32,6 +32,8 @@ export default function DashboardPage() {
} }
} catch (e) { } catch (e) {
console.error("Failed to load user stats", e) console.error("Failed to load user stats", e)
} finally {
setLoading(false)
} }
} }
fetchStats() fetchStats()