Fix infinite loading bug on dashboard page
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user