summaryrefslogtreecommitdiffstats
path: root/devtools/client/performance-new/store/actions.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/performance-new/store/actions.js')
-rw-r--r--devtools/client/performance-new/store/actions.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/devtools/client/performance-new/store/actions.js b/devtools/client/performance-new/store/actions.js
index 2bb7ce126c..970ce4e644 100644
--- a/devtools/client/performance-new/store/actions.js
+++ b/devtools/client/performance-new/store/actions.js
@@ -181,7 +181,7 @@ exports.startRecording = perfFront => {
* @return {ThunkAction<Promise<MinimallyTypedGeckoProfile>>}
*/
exports.getProfileAndStopProfiler = perfFront => {
- return async ({ dispatch, getState }) => {
+ return async ({ dispatch }) => {
dispatch({ type: "REQUESTING_PROFILE" });
const profile = await perfFront.getProfileAndStopProfiler();
dispatch({ type: "OBTAINED_PROFILE" });
@@ -195,7 +195,7 @@ exports.getProfileAndStopProfiler = perfFront => {
* @return {ThunkAction<void>}
*/
exports.stopProfilerAndDiscardProfile = perfFront => {
- return async ({ dispatch, getState }) => {
+ return async ({ dispatch }) => {
dispatch({ type: "REQUESTING_TO_STOP_RECORDING" });
try {