From 538613511291b1b0764439581e959ba8eff830d0 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 12 Aug 2022 10:22:30 -0500 Subject: [PATCH] WrappedRoute: fix PageProps type to include children --- app/soapbox/features/ui/util/react_router_helpers.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/soapbox/features/ui/util/react_router_helpers.tsx b/app/soapbox/features/ui/util/react_router_helpers.tsx index b7dbdb192..992a60e2b 100644 --- a/app/soapbox/features/ui/util/react_router_helpers.tsx +++ b/app/soapbox/features/ui/util/react_router_helpers.tsx @@ -13,6 +13,7 @@ import BundleContainer from '../containers/bundle_container'; type PageProps = { params?: MatchType['params'], layout?: any, + children: React.ReactNode, }; interface IWrappedRoute extends RouteProps {