aboutsummaryrefslogtreecommitdiff
path: root/modern
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-09-15 10:31:42 -0700
committerAnton Tananaev <anton@traccar.org>2022-09-15 10:31:42 -0700
commit9e581b0ede5d275ce8555f1324a4d0da56a256bf (patch)
tree45f787ec12f8c8ba55f9367af0675f93aad8e0c9 /modern
parent8b17d67bdf366a10d0f152e3a4c0c87020513d40 (diff)
downloadtrackermap-web-9e581b0ede5d275ce8555f1324a4d0da56a256bf.tar.gz
trackermap-web-9e581b0ede5d275ce8555f1324a4d0da56a256bf.tar.bz2
trackermap-web-9e581b0ede5d275ce8555f1324a4d0da56a256bf.zip
Fix lint warnings
Diffstat (limited to 'modern')
-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) {