diff options
Diffstat (limited to 'devtools/client/netmonitor/src/components/request-details')
3 files changed, 4 insertions, 4 deletions
diff --git a/devtools/client/netmonitor/src/components/request-details/HeadersPanel.js b/devtools/client/netmonitor/src/components/request-details/HeadersPanel.js index 09226b72c5..5b8822d53b 100644 --- a/devtools/client/netmonitor/src/components/request-details/HeadersPanel.js +++ b/devtools/client/netmonitor/src/components/request-details/HeadersPanel.js @@ -907,7 +907,7 @@ module.exports = connect( state => ({ shouldExpandPreview: state.ui.shouldExpandHeadersUrlPreview, }), - (dispatch, props) => ({ + dispatch => ({ setHeadersUrlPreviewExpanded: expanded => dispatch(Actions.setHeadersUrlPreviewExpanded(expanded)), openRequestBlockingAndAddUrl: url => diff --git a/devtools/client/netmonitor/src/components/request-details/ResponsePanel.js b/devtools/client/netmonitor/src/components/request-details/ResponsePanel.js index ac4435ea1d..d222f7bc5e 100644 --- a/devtools/client/netmonitor/src/components/request-details/ResponsePanel.js +++ b/devtools/client/netmonitor/src/components/request-details/ResponsePanel.js @@ -228,7 +228,7 @@ class ResponsePanel extends Component { image: "", priority: PriorityLevels.PRIORITY_INFO_HIGH, type: "info", - eventCallback: e => {}, + eventCallback: () => {}, buttons: [ { mdnUrl: getCORSErrorURL(blockedReason), @@ -394,7 +394,7 @@ class ResponsePanel extends Component { image: "", priority: PriorityLevels.PRIORITY_INFO_MEDIUM, type: "info", - eventCallback: e => {}, + eventCallback: () => {}, buttons: [], }); diff --git a/devtools/client/netmonitor/src/components/request-details/TimingsPanel.js b/devtools/client/netmonitor/src/components/request-details/TimingsPanel.js index 6cba22fa71..8452e0ecb9 100644 --- a/devtools/client/netmonitor/src/components/request-details/TimingsPanel.js +++ b/devtools/client/netmonitor/src/components/request-details/TimingsPanel.js @@ -78,7 +78,7 @@ class TimingsPanel extends Component { { className: "label-separator" }, L10N.getStr("netmonitor.timings.serviceWorkerTiming") ), - Object.entries(serviceWorkerTimings).map(([key, value], index) => { + Object.entries(serviceWorkerTimings).map(([key, value]) => { if (preValue > 0) { offset += preValue / totalTime; } |