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: infinite re-renders for projects without datasets #404

Merged
merged 1 commit into from
Apr 19, 2024

Conversation

eatyourgreens
Copy link
Collaborator

@eatyourgreens eatyourgreens commented Apr 19, 2024

Make sure that useDataset returns the same empty array for groups and biomarkers, in
the case where a project has no datasets. Otherwise, hooks that depend on dataset groups
or biomarkers will be triggered to run on every render.

Make sure that `useDataset` returns the same empty array for groups and biomarkers, in
the case where a project has no datasets. Otherwise, hooks that depend on dataset groups
or biomarkers will be triggered to run on every render.
Copy link

codecov bot commented Apr 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.71%. Comparing base (0151c3e) to head (189f860).
Report is 68 commits behind head on development.

Additional details and impacted files
@@               Coverage Diff               @@
##           development     #404      +/-   ##
===============================================
+ Coverage        76.35%   76.71%   +0.36%     
===============================================
  Files               95      107      +12     
  Lines             5379     5557     +178     
===============================================
+ Hits              4107     4263     +156     
- Misses            1272     1294      +22     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

Quality Gate Passed Quality Gate passed for 'pkpdapp'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

Copy link

Quality Gate Passed Quality Gate passed for 'pkpdapp-team_pkpdapp_frontend'

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

@eatyourgreens eatyourgreens merged commit 469d33e into development Apr 19, 2024
9 checks passed
@eatyourgreens eatyourgreens deleted the fix-infinite-rerenders branch April 19, 2024 16:25
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