Closed clementprdhomme closed 8 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
orcasa-client | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Feb 13, 2024 10:37am |
Is there a reason why we are not using the same UseNetworks hook for the count?
Nope, you're right. I'm just reading the meta data. I'll update this PR!
Actually there is a reason: useNetworks
doesn't return the metadata. So we have two options:
useNetworks
so it returns the metadata (total)useNetworksCount
hook but set the page size to 1 (already tested it locally)Which one would you prefer?
I think is ok. Thanks!
This PR displays the number of results (organisations and projects) at the top of the sidebar in the Network module.
Acceptance criteria
Tracking