dangling (invalid) eslint warnings

This commit is contained in:
Jaco Greeff 2018-04-19 17:45:40 +02:00
parent 714a5fff2c
commit e81ff2b9b6
3 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,7 @@ import extrinsics from './extrinsics';
type Props = BaseProps & {};
// eslint-disable-next-line no-unused-vars
const onChange = (event: SyntheticEvent<*>, { value }): void => {
extrinsicName.next(value);
};

View File

@ -32,6 +32,7 @@ const testOptions = keyring.getPairs().map((pair) => {
});
export default function InputAddress (props: Props): React$Node {
// eslint-disable-next-line no-unused-vars
const onChange = (event: SyntheticEvent<*>, { value }): void => {
if (props.subject) {
props.subject.next(value);

View File

@ -14,6 +14,7 @@ import { amount } from './subjects';
type Props = BaseProps & {};
// eslint-disable-next-line no-unused-vars
const onChange = (event: SyntheticEvent<*>, { value }): void => {
amount.next(
new BN(value || 0)