diff --git a/client/components/Header/Header.js b/client/components/Header/Header.js index 8fb4ee8c..5fdf4db6 100644 --- a/client/components/Header/Header.js +++ b/client/components/Header/Header.js @@ -2,14 +2,13 @@ import './Header.scss' import React, { Component } from 'react' import PropTypes from 'prop-types' import { connect } from 'react-redux' -import { Link } from 'react-router-dom' +import { Link, withRouter } from 'react-router-dom' import { Icon, Layout, Menu} from 'antd' import { logoutActions, loginTypeAction} from '../../actions/login' const { Header } = Layout; const ToolUser = (props)=> (