diff options
Diffstat (limited to 'app/components')
| -rw-r--r-- | app/components/AccountInput.js | 6 | ||||
| -rw-r--r-- | app/components/Switch.js | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/app/components/AccountInput.js b/app/components/AccountInput.js index dd2d3c7621..e113b1679c 100644 --- a/app/components/AccountInput.js +++ b/app/components/AccountInput.js @@ -7,7 +7,8 @@ import { colors } from '../config'; // @TODO: move it into types.js // ESLint issue: https://github.com/babel/babel-eslint/issues/445 -declare class ClipboardData { // eslint-disable-line no-unused-vars +// eslint-disable-next-line no-unused-vars +declare class ClipboardData { setData(type: string, data: string): void; getData(type: string): string; } @@ -75,7 +76,8 @@ export default class AccountInput extends React.Component<AccountInputProps, Acc render() { const displayString = formatAccount(this.state.value || ''); - const { value, onChange, onEnter, ...otherProps } = this.props; // eslint-disable-line no-unused-vars + // eslint-disable-next-line no-unused-vars + const { value, onChange, onEnter, ...otherProps } = this.props; return ( <TextInput { ...otherProps } value={ displayString } diff --git a/app/components/Switch.js b/app/components/Switch.js index 9032065e9a..6bd4b8e4d0 100644 --- a/app/components/Switch.js +++ b/app/components/Switch.js @@ -131,7 +131,8 @@ export default class Switch extends React.Component<SwitchProps, State> { } render() { - const { isOn, onChange, ...otherProps } = this.props; // eslint-disable-line no-unused-vars + // eslint-disable-next-line no-unused-vars + const { isOn, onChange, ...otherProps } = this.props; const className = ('switch ' + (otherProps.className || '')).trim(); return ( <input { ...otherProps } |
