Fix infinite loading bug on dashboard page
This commit is contained in:
@@ -32,6 +32,8 @@ export default function DashboardPage() {
|
||||
}
|
||||
} catch (e) {
|
||||
console.error("Failed to load user stats", e)
|
||||
} finally {
|
||||
setLoading(false)
|
||||
}
|
||||
}
|
||||
fetchStats()
|
||||
|
||||
Reference in New Issue
Block a user