aboutsummaryrefslogtreecommitdiff
path: root/modern/src
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src')
-rw-r--r--modern/src/ErrorBoundary.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/modern/src/ErrorBoundary.js b/modern/src/ErrorBoundary.js
index 5a24435f..93a6fe0f 100644
--- a/modern/src/ErrorBoundary.js
+++ b/modern/src/ErrorBoundary.js
@@ -13,11 +13,7 @@ class ErrorBoundary extends React.Component {
return { error };
}
- componentDidCatch(error, errorInfo) {
- console.log(error);
- console.log(errorInfo);
- }
-
+ /* eslint-disable react/no-danger */
render() {
const { error } = this.state;
if (error) {