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 search page hydration error #1670

Merged
merged 1 commit into from
Oct 9, 2024
Merged

Conversation

ChristopherChudzicki
Copy link
Contributor

What are the relevant tickets?

Closes https://github.com/mitodl/hq/issues/5465

Description (What does it do?)

Removes Suspense from search page in favor of export const dynamic = "force-dynamic"

How can this be tested?

  1. On branch nextjs, as an authenticated user, load and reload the search page. You should eventually see some hydration errors.
  2. Repeat on this branch. It should not happen.

@ChristopherChudzicki ChristopherChudzicki changed the base branch from main to nextjs October 9, 2024 15:45
@ChristopherChudzicki ChristopherChudzicki changed the title Cc/search hydration Fix search page hydration error Oct 9, 2024
@ChristopherChudzicki ChristopherChudzicki added the Needs Review An open Pull Request that is ready for review label Oct 9, 2024
@ChristopherChudzicki ChristopherChudzicki marked this pull request as ready for review October 9, 2024 15:46
@ChristopherChudzicki
Copy link
Contributor Author

pre-commit.ci run

@ChristopherChudzicki ChristopherChudzicki merged commit 4462b88 into nextjs Oct 9, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review An open Pull Request that is ready for review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants