Upgrade react-router-dom to v5.3
This commit is contained in:
@@ -38,10 +38,6 @@ const mapStateToProps = state => {
|
||||
export default @withRouter @connect(mapStateToProps)
|
||||
class PrimaryNavigation extends React.PureComponent {
|
||||
|
||||
static contextTypes = {
|
||||
router: PropTypes.object,
|
||||
};
|
||||
|
||||
static propTypes = {
|
||||
dispatch: PropTypes.func.isRequired,
|
||||
logo: PropTypes.string,
|
||||
|
||||
Reference in New Issue
Block a user