We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9321d6f commit 3926375Copy full SHA for 3926375
client/routes.jsx
@@ -1,4 +1,4 @@
1
-import PropTypes from 'prop-types';
+// import PropTypes from 'prop-types';
2
import React, { useEffect } from 'react';
3
import { useDispatch } from 'react-redux';
4
import { Route as RouterRoute, Switch } from 'react-router-dom';
@@ -49,7 +49,7 @@ const Route = ({ component, ...props }) => (
49
<RouterRoute component={withParams(component)} {...props} />
50
);
51
Route.propTypes = { ...RouterRoute.propTypes };
52
-Route.propTypes.component = PropTypes.elementType.isRequired;
+// Route.propTypes.component = PropTypes.elementType.isRequired;
53
54
const routes = (
55
<Switch>
0 commit comments