From acbbf036c637a0f694d84a2a65e6263a992c6471 Mon Sep 17 00:00:00 2001 From: Shane Loeffler Date: Wed, 16 Oct 2024 16:41:32 -0700 Subject: [PATCH] place message below the header --- src/error-boundary.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error-boundary.js b/src/error-boundary.js index 38b9c79..9c9326f 100644 --- a/src/error-boundary.js +++ b/src/error-boundary.js @@ -28,7 +28,7 @@ class ErrorBoundary extends React.Component { if (this.state.errorMessage) { // You can render any custom fallback UI return ( -
+
{this.props.showErrorTrace ? this.state.errorMessage : DEFAULT_ERROR}
)