summaryrefslogtreecommitdiffstats
path: root/devtools/client/webconsole/components/Input/EagerEvaluation.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/webconsole/components/Input/EagerEvaluation.js')
-rw-r--r--devtools/client/webconsole/components/Input/EagerEvaluation.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/devtools/client/webconsole/components/Input/EagerEvaluation.js b/devtools/client/webconsole/components/Input/EagerEvaluation.js
index 52d5467b45..7dd1053cd1 100644
--- a/devtools/client/webconsole/components/Input/EagerEvaluation.js
+++ b/devtools/client/webconsole/components/Input/EagerEvaluation.js
@@ -45,7 +45,7 @@ class EagerEvaluation extends Component {
};
}
- static getDerivedStateFromError(error) {
+ static getDerivedStateFromError() {
return { hasError: true };
}