diff --git a/extension/src/app/containers/Actions.tsx b/extension/src/app/containers/Actions.tsx index 5eda6ad8..4564e8ad 100644 --- a/extension/src/app/containers/Actions.tsx +++ b/extension/src/app/containers/Actions.tsx @@ -2,10 +2,7 @@ import React, { Component } from 'react'; import { connect, ResolveThunks } from 'react-redux'; import { Button, Container, Divider, Toolbar } from 'devui'; import SliderMonitor from '@redux-devtools/app/lib/containers/monitors/Slider'; -import { - liftedDispatch as liftedDispatchAction, - getReport, -} from '@redux-devtools/app/lib/actions'; +import { liftedDispatch, getReport } from '@redux-devtools/app/lib/actions'; import { getActiveInstance } from '@redux-devtools/app/lib/reducers/instances'; import DevTools from '@redux-devtools/app/lib/containers/DevTools'; import Dispatcher from '@redux-devtools/app/lib/containers/monitors/Dispatcher'; @@ -161,7 +158,7 @@ const mapStateToProps = (state: StoreState) => { }; const actionCreators = { - liftedDispatch: liftedDispatchAction, + liftedDispatch, getReport, }; diff --git a/extension/src/browser/extension/inject/pageScript.ts b/extension/src/browser/extension/inject/pageScript.ts index 2fb007a9..31c413f9 100644 --- a/extension/src/browser/extension/inject/pageScript.ts +++ b/extension/src/browser/extension/inject/pageScript.ts @@ -426,13 +426,6 @@ function __REDUX_DEVTOOLS_EXTENSION__>( if (!features.lock && action.type === 'LOCK_CHANGES') return; if (!features.pause && action.type === 'PAUSE_RECORDING') return; } - if (action.type === 'JUMP_TO_STATE') { - const liftedState = store.liftedStore.getState(); - const index = liftedState.stagedActionIds.indexOf(action.actionId); - if (index === -1) return; - store.liftedStore.dispatch({ type: action.type, index }); - return; - } store.liftedStore.dispatch(action as any); } diff --git a/packages/redux-devtools-app/src/containers/Actions.tsx b/packages/redux-devtools-app/src/containers/Actions.tsx index d813203c..4284bfce 100644 --- a/packages/redux-devtools-app/src/containers/Actions.tsx +++ b/packages/redux-devtools-app/src/containers/Actions.tsx @@ -2,7 +2,7 @@ import React, { Component } from 'react'; import { connect, ResolveThunks } from 'react-redux'; import { Container } from 'devui'; import SliderMonitor from './monitors/Slider'; -import { liftedDispatch as liftedDispatchAction, getReport } from '../actions'; +import { liftedDispatch, getReport } from '../actions'; import { getActiveInstance } from '../reducers/instances'; import DevTools from '../containers/DevTools'; import Dispatcher from './monitors/Dispatcher'; @@ -69,7 +69,7 @@ const mapStateToProps = (state: StoreState) => { }; const actionCreators = { - liftedDispatch: liftedDispatchAction, + liftedDispatch, getReport, };