summaryrefslogtreecommitdiffstats
path: root/devtools/client/aboutdebugging/src/actions/runtimes.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/aboutdebugging/src/actions/runtimes.js')
-rw-r--r--devtools/client/aboutdebugging/src/actions/runtimes.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/client/aboutdebugging/src/actions/runtimes.js b/devtools/client/aboutdebugging/src/actions/runtimes.js
index fba620951e..52148f80b2 100644
--- a/devtools/client/aboutdebugging/src/actions/runtimes.js
+++ b/devtools/client/aboutdebugging/src/actions/runtimes.js
@@ -202,7 +202,7 @@ function connectRuntime(id) {
}
function createThisFirefoxRuntime() {
- return ({ dispatch, getState }) => {
+ return ({ dispatch }) => {
const thisFirefoxRuntime = {
id: RUNTIMES.THIS_FIREFOX,
isConnecting: false,
@@ -488,7 +488,7 @@ function updateRemoteRuntimes(runtimes, type) {
* before leaving about:debugging.
*/
function removeRuntimeListeners() {
- return ({ dispatch, getState }) => {
+ return ({ getState }) => {
const allRuntimes = getAllRuntimes(getState().runtimes);
const remoteRuntimes = allRuntimes.filter(
r => r.type !== RUNTIMES.THIS_FIREFOX