From f4bef24429b0f7378aa1ba25b971f9a3169d362c Mon Sep 17 00:00:00 2001 From: Chrystal Maria Griffiths Date: Fri, 18 Sep 2020 12:02:34 +0200 Subject: [PATCH] Merge pull request #3204 from overleaf/msm-fix-default-error-boundary-renderer Fixed default renderer for react error boundary GitOrigin-RevId: 87f7d80385717db6c0222cd97ad373760c4e161c --- services/web/frontend/js/infrastructure/error-boundary.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/services/web/frontend/js/infrastructure/error-boundary.js b/services/web/frontend/js/infrastructure/error-boundary.js index e79c4481f2..b54e49f6d2 100644 --- a/services/web/frontend/js/infrastructure/error-boundary.js +++ b/services/web/frontend/js/infrastructure/error-boundary.js @@ -10,11 +10,15 @@ function errorHandler(error, componentStack) { } } +function DefaultFallbackComponent() { + return <> +} + function withErrorBoundary(WrappedComponent, FallbackComponent) { function ErrorBoundaryWrapper(props) { return (