From 723bbe9f12971b414d0fd4341678cff7eba70d33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20YUEN?= Date: Wed, 31 Jan 2018 12:05:31 +0100 Subject: [PATCH] Remove useless withRouter --- ui/src/hosts/containers/HostsPage.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ui/src/hosts/containers/HostsPage.js b/ui/src/hosts/containers/HostsPage.js index b61024f5b2..e76201d00c 100644 --- a/ui/src/hosts/containers/HostsPage.js +++ b/ui/src/hosts/containers/HostsPage.js @@ -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) )