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: Ensure ReactPanelErrorBoundary handles undefined children (#1089) #1092

Merged

Conversation

mofojed
Copy link
Member

@mofojed mofojed commented Jan 21, 2025

  • ReactPanelErrorBoundary would throw an error if children was undefined
  • Just render null if children is undefined
  • Tested using the steps in DH-18461. Unable to figure out steps to reproduce in just DHC.
  • There may still be a fix higher up in Enterprise, but this at least ensures ReactPanelErrorBoundary is more robust and we don't totally euchre our layout

…aven#1089)

- ReactPanelErrorBoundary would throw an error if children was undefined
- Just render `null` if `children` is `undefined`
- Tested using the steps in DH-18461. Unable to figure out steps to
reproduce in just DHC.
- There may still be a fix higher up in Enterprise, but this at least
ensures ReactPanelErrorBoundary is more robust and we don't totally
euchre our layout
@mofojed mofojed requested a review from mattrunyon January 21, 2025 18:53
@mofojed mofojed self-assigned this Jan 21, 2025
@mofojed mofojed merged commit 2c31622 into deephaven:release/ui-v0.23 Jan 21, 2025
14 checks passed
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