From a4d013c9eb3b9a9a8405678a514b104dbf5c1d7e Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Tue, 25 Oct 2016 22:58:48 +0200 Subject: [PATCH] use hashHistory --- .../src/component/feature/add-container.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/unleash-frontend-next/src/component/feature/add-container.jsx b/packages/unleash-frontend-next/src/component/feature/add-container.jsx index 18bcc9e93d..3ece661dcd 100644 --- a/packages/unleash-frontend-next/src/component/feature/add-container.jsx +++ b/packages/unleash-frontend-next/src/component/feature/add-container.jsx @@ -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) => {