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

chore: Wrap routes in suspense wrapper that haven't done so in child data components #2211

Merged
merged 2 commits into from
Sep 23, 2024

Conversation

gdalcengio
Copy link
Contributor

@gdalcengio gdalcengio force-pushed the 2130-suspense-wrap branch 4 times, most recently from 568b794 to aba736d Compare September 18, 2024 21:56
Copy link
Contributor

@BCerki BCerki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! 🤸
I think suspense may be missing from a couple files (but if it's in a child component and I just missed it, disregard):

  • bciers/apps/reporting/src/app/bceidbusiness/industry_user/reports/[version_id]/facilities/[facility_id]/review/page.tsx
  • bciers/apps/reporting/src/app/bceidbusiness/industry_user_admin/reports/[version_id]/facilities/[facility_id]/review/page.tsx
  • anything that uses OperationRegistrationPage (a PR to add a fetch to it just went in)

@gdalcengio
Copy link
Contributor Author

Looking good! 🤸 I think suspense may be missing from a couple files (but if it's in a child component and I just missed it, disregard):

  • bciers/apps/reporting/src/app/bceidbusiness/industry_user/reports/[version_id]/facilities/[facility_id]/review/page.tsx
  • bciers/apps/reporting/src/app/bceidbusiness/industry_user_admin/reports/[version_id]/facilities/[facility_id]/review/page.tsx
  • anything that uses OperationRegistrationPage (a PR to add a fetch to it just went in)

Yes I did miss those, you're right. I think I assumed they weren't calling anything because there was no async attached to the component. I'll have it included and pushed up soon

Copy link
Contributor

@BCerki BCerki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Approved, merge whenever you're ready

@gdalcengio gdalcengio merged commit cb970be into develop Sep 23, 2024
43 checks passed
@Sepehr-Sobhani Sepehr-Sobhani deleted the 2130-suspense-wrap branch October 18, 2024 18:04
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.

2 participants