aboutsummaryrefslogtreecommitdiff
path: root/app/javascript/mastodon/features/ui/util
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2022-12-18 10:51:37 -0500
committerGitHub <noreply@github.com>2022-12-19 00:51:37 +0900
commit06b68490d1957d680adc0c0c4ed2c84641de2056 (patch)
tree95127495c9e773fc71a38f3df2a833bfc6d03d09 /app/javascript/mastodon/features/ui/util
parent2889c686108e89a87317505f93b841f5a8a6649b (diff)
downloadmastodon-main.tar
mastodon-main.tar.gz
mastodon-main.tar.bz2
mastodon-main.zip
Enable eslint:recommended ruleset (#22433)HEADmain
* Enable ESLint recommended ruleset * Disable failing ESLint recommended rules * Remove rules shadowed by eslint:recommended
Diffstat (limited to 'app/javascript/mastodon/features/ui/util')
-rw-r--r--app/javascript/mastodon/features/ui/util/react_router_helpers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/ui/util/react_router_helpers.js b/app/javascript/mastodon/features/ui/util/react_router_helpers.js
index 2ee06c3ff..205dd6f10 100644
--- a/app/javascript/mastodon/features/ui/util/react_router_helpers.js
+++ b/app/javascript/mastodon/features/ui/util/react_router_helpers.js
@@ -46,7 +46,7 @@ export class WrappedRoute extends React.Component {
return {
hasError: true,
};
- };
+ }
state = {
hasError: false,