1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-05-17 01:17:29 +02:00

use hashHistory

This commit is contained in:
ivaosthu 2016-10-25 22:58:48 +02:00 committed by Ivar Conradi Østhus
parent 223d0a1421
commit a22b584615

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) => {