Upgrading everything, especially router

This commit is contained in:
James Barnsley
2019-01-09 16:56:35 +13:00
parent 24d5d7b94e
commit 56587aa6fb
31 changed files with 18516 additions and 17159 deletions

View File

@ -2,7 +2,7 @@
import ReactGA from 'react-ga';
import Mopidy from 'mopidy';
import md5 from 'md5';
import { hashHistory } from 'react-router';
import * as helpers from '../../helpers';
var mopidyActions = require('./actions.js');
@ -1672,7 +1672,7 @@ const MopidyMiddleware = (function(){
key: action.key,
new_key: response.uri
});
hashHistory.push(global.baseURL+'playlist/'+encodeURIComponent(response.uri));
this.props.history.push(global.baseURL+'playlist/'+encodeURIComponent(response.uri));
}
store.dispatch(uiActions.createNotification({type: 'info', content: 'Playlist saved'}));