From d52d64c0c5e5dec135197d6058f8ef61f488f9be Mon Sep 17 00:00:00 2001 From: raclim <43053081+raclim@users.noreply.github.com> Date: Sat, 14 Oct 2023 23:41:34 -0400 Subject: [PATCH] remove TypeError for undefined property --- client/routes.jsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/client/routes.jsx b/client/routes.jsx index 693b167472..b97d0e683e 100644 --- a/client/routes.jsx +++ b/client/routes.jsx @@ -1,4 +1,3 @@ -// import PropTypes from 'prop-types'; import React, { useEffect } from 'react'; import { useDispatch } from 'react-redux'; import { Route as RouterRoute, Switch } from 'react-router-dom'; @@ -49,7 +48,6 @@ const Route = ({ component, ...props }) => ( ); Route.propTypes = { ...RouterRoute.propTypes }; -// Route.propTypes.component = PropTypes.elementType.isRequired; const routes = (