From c77c89ea08ee87a6163ec62b6a3072039c99d07e Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sun, 27 Sep 2020 16:48:23 -0500 Subject: [PATCH] UI: fix PropType warning on `page` --- app/soapbox/features/ui/util/react_router_helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/soapbox/features/ui/util/react_router_helpers.js b/app/soapbox/features/ui/util/react_router_helpers.js index ceffd0daa..133750f91 100644 --- a/app/soapbox/features/ui/util/react_router_helpers.js +++ b/app/soapbox/features/ui/util/react_router_helpers.js @@ -18,7 +18,7 @@ class WrappedRoute extends React.Component { static propTypes = { component: PropTypes.func.isRequired, - page: PropTypes.func, + page: PropTypes.object, content: PropTypes.node, componentParams: PropTypes.object, layout: PropTypes.object,