Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: wrap publications in suspense boundary on admin statistics page #155

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

stefanprobst
Copy link
Contributor

loading publications data from zotero can take a long time, especially on the admin statistics dashboard, because we cannot load data for all countries at once, but need to request each individually.

this wraps the publications count on the admin dashboard page in a suspense boundary, so other data can already be displayed while the zotero requests are still in flight.

@stefanprobst stefanprobst merged commit d5c987b into main Jun 3, 2024
2 checks passed
@stefanprobst stefanprobst deleted the fix/wrap-publications-count branch June 3, 2024 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant