Skip to content

Commit d52d64c

Browse files
committed
remove TypeError for undefined property
1 parent 62e5d17 commit d52d64c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

client/routes.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// import PropTypes from 'prop-types';
21
import React, { useEffect } from 'react';
32
import { useDispatch } from 'react-redux';
43
import { Route as RouterRoute, Switch } from 'react-router-dom';
@@ -49,7 +48,6 @@ const Route = ({ component, ...props }) => (
4948
<RouterRoute component={withParams(component)} {...props} />
5049
);
5150
Route.propTypes = { ...RouterRoute.propTypes };
52-
// Route.propTypes.component = PropTypes.elementType.isRequired;
5351

5452
const routes = (
5553
<Switch>

0 commit comments

Comments
 (0)