git.wincent.com
/
hextrapolate.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0aa96a0
)
Remove unnecessary lint override
author
Greg Hurrell <greg@hurrell.net>
Tue, 4 Aug 2015 07:41:04 +0000
(
00:41
-0700)
committer
Greg Hurrell <greg@hurrell.net>
Tue, 4 Aug 2015 07:41:04 +0000
(
00:41
-0700)
Used to be necessary. No longer so.
src/Field.react.js
patch
|
blob
|
history
diff --git
a/src/Field.react.js
b/src/Field.react.js
index abc79a0f355da4eb4278f2a28943c0d775036c5b..bff30b192e19a5bea2c42c9aba47006d28fa41e2 100644
(file)
--- a/
src/Field.react.js
+++ b/
src/Field.react.js
@@
-79,8
+79,7
@@
export default class Field extends React.Component {
copySucceeded: document.execCommand('copy'),
});
setTimeout(() => this.setState({copySucceeded: false}), 750);
- } catch(error) { // eslint-disable-line no-empty
- // Swallow.
+ } catch(error) {
this.setState({copySucceeded: false});
}
}