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 62e5d17 commit d52d64cCopy full SHA for d52d64c
client/routes.jsx
@@ -1,4 +1,3 @@
1
-// 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 +48,6 @@ const Route = ({ component, ...props }) => (
49
48
<RouterRoute component={withParams(component)} {...props} />
50
);
51
Route.propTypes = { ...RouterRoute.propTypes };
52
-// Route.propTypes.component = PropTypes.elementType.isRequired;
53
54
const routes = (
55
<Switch>
0 commit comments