diff options
Diffstat (limited to 'devtools/client/memory/actions/snapshot.js')
-rw-r--r-- | devtools/client/memory/actions/snapshot.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/client/memory/actions/snapshot.js b/devtools/client/memory/actions/snapshot.js index 63885be251..21b54e9e28 100644 --- a/devtools/client/memory/actions/snapshot.js +++ b/devtools/client/memory/actions/snapshot.js @@ -727,7 +727,7 @@ const computeAndFetchDominatorTree = (exports.computeAndFetchDominatorTree = return id; }, - async task(heapWorker, id, removeFromCache, dispatch, getState) { + async task(heapWorker, id, removeFromCache, dispatch) { const dominatorTreeId = await dispatch( computeDominatorTree(heapWorker, id) ); @@ -843,7 +843,7 @@ exports.clearSnapshots = function (heapWorker) { * @param {snapshotModel} snapshot */ exports.deleteSnapshot = function (heapWorker, snapshot) { - return async function ({ dispatch, getState }) { + return async function ({ dispatch }) { dispatch({ type: actions.DELETE_SNAPSHOTS_START, ids: [snapshot.id] }); try { |