summaryrefslogtreecommitdiffhomepage
path: root/app/components/AccountInput.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/components/AccountInput.js')
-rw-r--r--app/components/AccountInput.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/components/AccountInput.js b/app/components/AccountInput.js
index dc61aeffc9..1759423437 100644
--- a/app/components/AccountInput.js
+++ b/app/components/AccountInput.js
@@ -5,8 +5,7 @@ import { formatAccount } from '../lib/formatters';
// @TODO: move it into types.js
// ESLint issue: https://github.com/babel/babel-eslint/issues/445
-/* eslint-disable no-unused-vars */
-declare class ClipboardData {
+declare class ClipboardData { // eslint-disable-line no-unused-vars
setData(type: string, data: string): void;
getData(type: string): string;
}
@@ -77,7 +76,7 @@ export default class AccountInput extends Component {
render(): React.Element<*> {
const displayString = formatAccount(this.state.value || '');
- const { value, onChange, onEnter, ...otherProps } = this.props;
+ const { value, onChange, onEnter, ...otherProps } = this.props; // eslint-disable-line no-unused-vars
return (
<input { ...otherProps }
type="text"