Skip to content

Commit 3926375

Browse files
committed
comment out route proptypes
1 parent 9321d6f commit 3926375

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/routes.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import PropTypes from 'prop-types';
1+
// import PropTypes from 'prop-types';
22
import React, { useEffect } from 'react';
33
import { useDispatch } from 'react-redux';
44
import { Route as RouterRoute, Switch } from 'react-router-dom';
@@ -49,7 +49,7 @@ const Route = ({ component, ...props }) => (
4949
<RouterRoute component={withParams(component)} {...props} />
5050
);
5151
Route.propTypes = { ...RouterRoute.propTypes };
52-
Route.propTypes.component = PropTypes.elementType.isRequired;
52+
// Route.propTypes.component = PropTypes.elementType.isRequired;
5353

5454
const routes = (
5555
<Switch>

0 commit comments

Comments
 (0)