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: Fix hydration errors throughout app #1507

Merged
merged 4 commits into from
Jan 24, 2025
Merged

fix: Fix hydration errors throughout app #1507

merged 4 commits into from
Jan 24, 2025

Conversation

bchu1
Copy link
Contributor

@bchu1 bchu1 commented Jan 23, 2025

This should resolve https://czi-sci.slack.com/archives/C05S98P75NW/p1737656647158829 which seems to be caused by some Remix bug (?) where sometimes the page doesn't get overwritten with the hydrated DOM (which was different due to these hydration errors).

  • Remove unnecessary <Paper> wrapper in tooltip (it was getting positionally shifted by the other fixes for some reason, but it should've been removed anyways as the recent SDS update made extra <Paper> redundant (and ugly)).
  • Remove instances of <div>s being under <p>s.
  • Remove instances of <p>s being under <tr>s.

@bchu1 bchu1 changed the title fix: Fix intermittent issue where Remix does not replace initial DOM with hydrated version fix: Fix hydration errors throughout app Jan 23, 2025
Copy link
Contributor

@rainandbare rainandbare left a comment

Choose a reason for hiding this comment

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

Thank you for this quick fix Bryan!

@bchu1 bchu1 merged commit fd44d14 into main Jan 24, 2025
11 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants