diff options
Diffstat (limited to 'devtools/client/aboutdebugging/src/middleware')
4 files changed, 5 insertions, 5 deletions
diff --git a/devtools/client/aboutdebugging/src/middleware/extension-component-data.js b/devtools/client/aboutdebugging/src/middleware/extension-component-data.js index 5987f36398..53e6fd22f1 100644 --- a/devtools/client/aboutdebugging/src/middleware/extension-component-data.js +++ b/devtools/client/aboutdebugging/src/middleware/extension-component-data.js @@ -18,7 +18,7 @@ const { * This middleware converts extensions object that get from DevToolsClient.listAddons() * to data which is used in DebugTargetItem. */ -const extensionComponentDataMiddleware = store => next => action => { +const extensionComponentDataMiddleware = () => next => action => { switch (action.type) { case REQUEST_EXTENSIONS_SUCCESS: { action.installedExtensions = toComponentData(action.installedExtensions); diff --git a/devtools/client/aboutdebugging/src/middleware/process-component-data.js b/devtools/client/aboutdebugging/src/middleware/process-component-data.js index d5cdc6365b..c4947453a0 100644 --- a/devtools/client/aboutdebugging/src/middleware/process-component-data.js +++ b/devtools/client/aboutdebugging/src/middleware/process-component-data.js @@ -17,7 +17,7 @@ const { * This middleware converts tabs object that get from DevToolsClient.listProcesses() to * data which is used in DebugTargetItem. */ -const processComponentDataMiddleware = store => next => action => { +const processComponentDataMiddleware = () => next => action => { switch (action.type) { case REQUEST_PROCESSES_SUCCESS: { const mainProcessComponentData = toMainProcessComponentData( @@ -31,7 +31,7 @@ const processComponentDataMiddleware = store => next => action => { return next(action); }; -function toMainProcessComponentData(process) { +function toMainProcessComponentData() { const type = DEBUG_TARGETS.PROCESS; const icon = "chrome://devtools/skin/images/aboutdebugging-process-icon.svg"; diff --git a/devtools/client/aboutdebugging/src/middleware/tab-component-data.js b/devtools/client/aboutdebugging/src/middleware/tab-component-data.js index f468926f81..2de8dca86f 100644 --- a/devtools/client/aboutdebugging/src/middleware/tab-component-data.js +++ b/devtools/client/aboutdebugging/src/middleware/tab-component-data.js @@ -13,7 +13,7 @@ const { * This middleware converts tabs object that get from DevToolsClient.listTabs() to data * which is used in DebugTargetItem. */ -const tabComponentDataMiddleware = store => next => action => { +const tabComponentDataMiddleware = () => next => action => { switch (action.type) { case REQUEST_TABS_SUCCESS: { action.tabs = toComponentData(action.tabs); diff --git a/devtools/client/aboutdebugging/src/middleware/worker-component-data.js b/devtools/client/aboutdebugging/src/middleware/worker-component-data.js index 178c99e322..cf13eccd5d 100644 --- a/devtools/client/aboutdebugging/src/middleware/worker-component-data.js +++ b/devtools/client/aboutdebugging/src/middleware/worker-component-data.js @@ -15,7 +15,7 @@ const { * This middleware converts workers object that get from DevToolsClient.listAllWorkers() * to data which is used in DebugTargetItem. */ -const workerComponentDataMiddleware = store => next => action => { +const workerComponentDataMiddleware = () => next => action => { switch (action.type) { case REQUEST_WORKERS_SUCCESS: { action.otherWorkers = toComponentData(action.otherWorkers); |