New: Replace 'react-router-redux' with 'connected-react-router'

This commit is contained in:
Qstick
2019-03-01 22:27:55 -05:00
parent df65b5b290
commit f43c1e749f
12 changed files with 59 additions and 48 deletions
@@ -10,7 +10,7 @@ import AddNewArtist from './AddNewArtist';
function createMapStateToProps() {
return createSelector(
(state) => state.addArtist,
(state) => state.routing.location,
(state) => state.router.location,
(addArtist, location) => {
const { params } = parseUrl(location.search);