Merge pull request #14 from TouchInstinct/feature/delete_cast_children

delete cast children
This commit is contained in:
grigoriishveps 2022-01-18 18:22:20 +03:00 committed by GitHub
commit 046e79f0ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>
)