From fc5f9eb8af868d64d56355eb838a8cf7bdffe650 Mon Sep 17 00:00:00 2001 From: Desyatnikov Grigorii Date: Tue, 18 Jan 2022 17:43:15 +0300 Subject: [PATCH] delete cast children --- routing/Router.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routing/Router.tsx b/routing/Router.tsx index 4d6c20c..5063f1f 100644 --- a/routing/Router.tsx +++ b/routing/Router.tsx @@ -61,7 +61,7 @@ const renderRouteConfig = ( if (!Container) { return ( - {children as JSX.TChildren[]} + {children} ) } @@ -69,7 +69,7 @@ const renderRouteConfig = ( return ( - {children as JSX.TChildren[]} + {children} )