This commit is contained in:
AAGaming
2024-06-27 00:21:32 -04:00
parent 2f8b5df007
commit 0cfb41755a
6 changed files with 13 additions and 13 deletions
+1 -3
View File
@@ -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>,
);
});