mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-15 09:33:52 -07:00
New: Replace 'react-router-redux' with 'connected-react-router'
This commit is contained in:
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);
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ import PropTypes from 'prop-types';
|
|||
import React, { Component } from 'react';
|
||||
import { connect } from 'react-redux';
|
||||
import { createSelector } from 'reselect';
|
||||
import { push } from 'react-router-redux';
|
||||
import { push } from 'connected-react-router';
|
||||
import createSystemStatusSelector from 'Store/Selectors/createSystemStatusSelector';
|
||||
import { fetchRootFolders, addRootFolder } from 'Store/Actions/rootFolderActions';
|
||||
import ImportArtistSelectFolder from './ImportArtistSelectFolder';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue