Skip to content

Commit

Permalink
remove TypeError for undefined property
Browse files Browse the repository at this point in the history
  • Loading branch information
raclim committed Oct 15, 2023
1 parent 62e5d17 commit d52d64c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions client/routes.jsx
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -49,7 +48,6 @@ const Route = ({ component, ...props }) => (
<RouterRoute component={withParams(component)} {...props} />
);
Route.propTypes = { ...RouterRoute.propTypes };
// Route.propTypes.component = PropTypes.elementType.isRequired;

const routes = (
<Switch>
Expand Down

0 comments on commit d52d64c

Please sign in to comment.