diff --git a/routing/Router.tsx b/routing/Router.tsx
index ca85189..4d6c20c 100644
--- a/routing/Router.tsx
+++ b/routing/Router.tsx
@@ -67,13 +67,11 @@ const renderRouteConfig = (
}
return (
-
-
-
- {children as JSX.TChildren[]}
-
-
-
+
+
+ {children as JSX.TChildren[]}
+
+
)
}
@@ -88,7 +86,11 @@ const Router: React.FC = (props: Props) => {
const preparedRoutes = prepareRoutes(routeConfig)
- return renderRouteConfig(component, preparedRoutes, baseUrlPath)
+ return (
+
+ {renderRouteConfig(component, preparedRoutes, baseUrlPath)}
+
+ )
}
export default Router