summaryrefslogtreecommitdiff
path: root/frontend/src/router-hook.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/router-hook.tsx')
-rw-r--r--frontend/src/router-hook.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/frontend/src/router-hook.tsx b/frontend/src/router-hook.tsx
index 7b66d351..e3325913 100644
--- a/frontend/src/router-hook.tsx
+++ b/frontend/src/router-hook.tsx
@@ -61,9 +61,7 @@ class RouterHook extends Logger {
routes.forEach(({ component, props }, path) => {
newRouterArray.push(
<Route path={path} {...props}>
- <ErrorBoundary>
- {createElement(component)}
- </ErrorBoundary>
+ <ErrorBoundary>{createElement(component)}</ErrorBoundary>
</Route>,
);
});