delete cast children
This commit is contained in:
parent
7602b0e2e7
commit
fc5f9eb8af
|
|
@ -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>
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue