summaryrefslogtreecommitdiffstats
path: root/devtools/client/netmonitor/src/middleware/throttling.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/netmonitor/src/middleware/throttling.js')
-rw-r--r--devtools/client/netmonitor/src/middleware/throttling.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/client/netmonitor/src/middleware/throttling.js b/devtools/client/netmonitor/src/middleware/throttling.js
index 30f5a9b5f4..ac72b556bb 100644
--- a/devtools/client/netmonitor/src/middleware/throttling.js
+++ b/devtools/client/netmonitor/src/middleware/throttling.js
@@ -14,7 +14,7 @@ const {
* according to user actions.
*/
function throttlingMiddleware(connector) {
- return store => next => action => {
+ return () => next => action => {
const res = next(action);
if (action.type === CHANGE_NETWORK_THROTTLING) {
connector.updateNetworkThrottling(action.enabled, action.profile);