1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-01 00:08:27 +01:00

use hashHistory

This commit is contained in:
ivaosthu 2016-10-25 22:58:48 +02:00
parent 60d4426272
commit a4d013c9eb

View File

@ -1,5 +1,5 @@
import { connect } from 'react-redux';
import { browserHistory } from 'react-router';
import { hashHistory } from 'react-router';
import { createFeatureToggles } from '../../store/feature-actions';
@ -21,7 +21,7 @@ const prepare = (methods, dispatch) => {
methods.onCancel = (evt) => {
evt.preventDefault();
browserHistory.push('/features');
hashHistory.push('/features');
};
methods.addStrategy = (v) => {