diff options
| author | Andrej Mihajlov <and@codeispoetry.ru> | 2017-07-21 10:14:51 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@codeispoetry.ru> | 2017-07-21 10:14:51 +0100 |
| commit | fc7fbd09cb4cc77f56f8ab15af4e1f2669f385a7 (patch) | |
| tree | 5dd213beeea22d9c6f29297f7d515e26efc784bb /app/components/AccountInput.js | |
| parent | be75990c6ebdd7f0ee356775ecd017b6e3bc0fc0 (diff) | |
| parent | 14eb55140257e70242ac8aa7319c75dc62e1bd64 (diff) | |
| download | mullvadvpn-fc7fbd09cb4cc77f56f8ab15af4e1f2669f385a7.tar.xz mullvadvpn-fc7fbd09cb4cc77f56f8ab15af4e1f2669f385a7.zip | |
Merge branch 'settings-tests'
Diffstat (limited to 'app/components/AccountInput.js')
| -rw-r--r-- | app/components/AccountInput.js | 5 |
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" |
