From 9e581b0ede5d275ce8555f1324a4d0da56a256bf Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 15 Sep 2022 10:31:42 -0700 Subject: Fix lint warnings --- modern/src/ErrorBoundary.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'modern') 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) { -- cgit v1.2.3