Remove unnecessary lint override
authorGreg Hurrell <greg@hurrell.net>
Tue, 4 Aug 2015 07:41:04 +0000 (00:41 -0700)
committerGreg 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

index abc79a0f355da4eb4278f2a28943c0d775036c5b..bff30b192e19a5bea2c42c9aba47006d28fa41e2 100644 (file)
@@ -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});
     }
   }