Browse Source

Removed unnecessary wrapper arrow function

gre-patch-1
Juan Cortes Ross 6 years ago
parent
commit
d6f2b08ec0
No known key found for this signature in database GPG Key ID: 34A99C03E9455EB8
  1. 2
      src/components/Idler.js

2
src/components/Idler.js

@ -40,7 +40,7 @@ class Idler extends PureComponent<Props> {
lastAction: number = -1
debounceOnChange = debounce(_ => this.idleTimeHandler(), 1000, { maxWait: 1000, leading: true })
debounceOnChange = debounce(this.idleTimeHandler, 1000, { maxWait: 1000, leading: true })
checkForAutoLock = _ => {
const timeout = this.props.autoLockTimeout

Loading…
Cancel
Save