Remove useless withRouter
parent
80db6212b5
commit
723bbe9f12
|
@ -1,6 +1,5 @@
|
|||
import React, {PropTypes, Component} from 'react'
|
||||
import {connect} from 'react-redux'
|
||||
import {withRouter} from 'react-router'
|
||||
import {bindActionCreators} from 'redux'
|
||||
import _ from 'lodash'
|
||||
|
||||
|
@ -185,5 +184,5 @@ const mapDispatchToProps = dispatch => ({
|
|||
})
|
||||
|
||||
export default connect(mapStateToProps, mapDispatchToProps)(
|
||||
ManualRefresh(withRouter(HostsPage))
|
||||
ManualRefresh(HostsPage)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue