Skip to content

Commit

Permalink
Merge pull request #103326 from cockroachdb/blathers/backport-release…
Browse files Browse the repository at this point in the history
…-22.1-103240

release-22.1: ui: no need to refresh page after error
  • Loading branch information
maryliag committed May 16, 2023
2 parents a1b48d1 + 2f2b9c4 commit 40f8dec
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -98,7 +98,9 @@ class Layout extends React.Component<LayoutProps & RouteComponentProps> {
<NavigationBar />
</div>
<div ref={this.contentRef} className="layout-panel__content">
<ErrorBoundary>{this.props.children}</ErrorBoundary>
<ErrorBoundary key={this.props.location.pathname}>
{this.props.children}
</ErrorBoundary>
</div>
</div>
</div>
Expand Down

0 comments on commit 40f8dec

Please sign in to comment.