Skip to content

Commit 5f7f709

Browse files
committed
Remove unnecessary function bindings
1 parent 4245cab commit 5f7f709

File tree

1 file changed

+2
-2
lines changed
  • src/browser/components/DesktopIntegration

1 file changed

+2
-2
lines changed

src/browser/components/DesktopIntegration/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ export default class DesktopIntegration extends Component {
5959
.catch(e => {}) // Catch but don't bother
6060
}
6161
}
62-
componentDidMount = () => {
62+
componentDidMount () {
6363
this.checkContextForActiveConnection(this.props)
6464
this.setupListener(this.props)
6565
}
66-
componentWillReceiveProps = props => {
66+
componentWillReceiveProps (props) {
6767
this.setupListener(props)
6868
}
6969
render = () => {

0 commit comments

Comments
 (0)