delete cast children

This commit is contained in:
Grigorii Desyatnikov 2022-01-18 17:43:15 +03:00
parent 7602b0e2e7
commit fc5f9eb8af
1 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ const renderRouteConfig = (
if (!Container) {
return (
<Switch>
{children as JSX.TChildren[]}
{children}
</Switch>
)
}
@ -69,7 +69,7 @@ const renderRouteConfig = (
return (
<Container key={contextPath}>
<Switch>
{children as JSX.TChildren[]}
{children}
</Switch>
</Container>
)