From d0befe59442945b97d74649cdeec9404232727c5 Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Mon, 1 Mar 2021 14:18:04 +0100 Subject: [PATCH] Add error boundnary for sidebar paths too b538960 added an error boundnary for pages not directly linked on the sidebar, but forgot to add it for pages on the sidebar. This add the missing error boundnary for those pages. --- packages/web_ui/src/components/SiteLayout.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/web_ui/src/components/SiteLayout.jsx b/packages/web_ui/src/components/SiteLayout.jsx index f2ef9358..dc09a0a7 100644 --- a/packages/web_ui/src/components/SiteLayout.jsx +++ b/packages/web_ui/src/components/SiteLayout.jsx @@ -75,7 +75,9 @@ export default function SiteLayout(props) { {sidebar.map(({path, content}) => - {content} + + {content} + )} {pages.map(page =>