summaryrefslogtreecommitdiffstats
path: root/devtools/client/framework/actions/dom-mutation-breakpoints.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/framework/actions/dom-mutation-breakpoints.js')
-rw-r--r--devtools/client/framework/actions/dom-mutation-breakpoints.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/devtools/client/framework/actions/dom-mutation-breakpoints.js b/devtools/client/framework/actions/dom-mutation-breakpoints.js
index 1e1273d711..9780771a24 100644
--- a/devtools/client/framework/actions/dom-mutation-breakpoints.js
+++ b/devtools/client/framework/actions/dom-mutation-breakpoints.js
@@ -47,7 +47,7 @@ function createDOMMutationBreakpoint(nodeFront, mutationType) {
assert(typeof nodeFront === "object" && nodeFront);
assert(typeof mutationType === "string");
- return async function ({ dispatch, getState }) {
+ return async function ({ dispatch }) {
const walker = nodeFront.walkerFront;
dispatch({
@@ -67,7 +67,7 @@ function deleteDOMMutationBreakpoint(nodeFront, mutationType) {
assert(typeof nodeFront === "object" && nodeFront);
assert(typeof mutationType === "string");
- return async function ({ dispatch, getState }) {
+ return async function ({ dispatch }) {
const walker = nodeFront.walkerFront;
await walker.setMutationBreakpoints(nodeFront, {
[mutationType]: false,
@@ -141,7 +141,7 @@ function toggleDOMMutationBreakpointState(id, enabled) {
assert(typeof id === "string");
assert(typeof enabled === "boolean");
- return async function ({ dispatch, getState }) {
+ return async function ({ getState }) {
const bp = getDOMMutationBreakpoint(getState(), id);
if (!bp) {
throw new Error(`No DOM mutation BP with ID ${id}`);