diff options
Diffstat (limited to 'devtools/client/memory/actions/view.js')
-rw-r--r-- | devtools/client/memory/actions/view.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/client/memory/actions/view.js b/devtools/client/memory/actions/view.js index af1bc7b21a..5f1ab5c263 100644 --- a/devtools/client/memory/actions/view.js +++ b/devtools/client/memory/actions/view.js @@ -49,7 +49,7 @@ const popView = (exports.popView = function () { * @param {HeapAnalysesClient} heapWorker */ exports.changeViewAndRefresh = function (view, heapWorker) { - return async function ({ dispatch, getState }) { + return async function ({ dispatch }) { dispatch(changeView(view)); await dispatch(refresh.refresh(heapWorker)); }; @@ -62,7 +62,7 @@ exports.changeViewAndRefresh = function (view, heapWorker) { * @param {HeapAnalysesClient} heapWorker */ exports.popViewAndRefresh = function (heapWorker) { - return async function ({ dispatch, getState }) { + return async function ({ dispatch }) { dispatch(popView()); await dispatch(refresh.refresh(heapWorker)); }; |