mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-17 01:17:29 +02:00
use hashHistory
This commit is contained in:
parent
223d0a1421
commit
a22b584615
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user