diff options
author | 2021-11-12 03:59:35 +0100 | |
---|---|---|
committer | 2021-11-12 08:29:35 +0530 | |
commit | 53937fd58023ef800bd8ca1cd2b6d2d7bc891834 (patch) | |
tree | ea70778761addfaba1732dcb515dabd9f37f09ea /src/components/services/content/ConnectionLostBanner.js | |
parent | Use forked version of 'node-mac-permissions' till the PR gets merged (#2216) (diff) | |
download | ferdium-app-53937fd58023ef800bd8ca1cd2b6d2d7bc891834.tar.gz ferdium-app-53937fd58023ef800bd8ca1cd2b6d2d7bc891834.tar.zst ferdium-app-53937fd58023ef800bd8ca1cd2b6d2d7bc891834.zip |
chore: update eslint deps to latest (#2213)
- update eslint deps to latest
- disable new react/function-component-definition rule
- fix/disable newly reported issues
Diffstat (limited to 'src/components/services/content/ConnectionLostBanner.js')
-rw-r--r-- | src/components/services/content/ConnectionLostBanner.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/components/services/content/ConnectionLostBanner.js b/src/components/services/content/ConnectionLostBanner.js index 5111a081a..b9e7eca53 100644 --- a/src/components/services/content/ConnectionLostBanner.js +++ b/src/components/services/content/ConnectionLostBanner.js | |||
@@ -1,4 +1,4 @@ | |||
1 | import { createRef, Component } from 'react'; | 1 | import { Component } from 'react'; |
2 | import PropTypes from 'prop-types'; | 2 | import PropTypes from 'prop-types'; |
3 | import { observer } from 'mobx-react'; | 3 | import { observer } from 'mobx-react'; |
4 | import injectSheet from 'react-jss'; | 4 | import injectSheet from 'react-jss'; |
@@ -77,8 +77,6 @@ class ConnectionLostBanner extends Component { | |||
77 | reload: PropTypes.func.isRequired, | 77 | reload: PropTypes.func.isRequired, |
78 | }; | 78 | }; |
79 | 79 | ||
80 | inputRef = createRef(); | ||
81 | |||
82 | render() { | 80 | render() { |
83 | const { classes, name, reload } = this.props; | 81 | const { classes, name, reload } = this.props; |
84 | 82 | ||