Bump deps (#340)

* Bump deps

* Adjust for new eslint parser
This commit is contained in:
Jaco Greeff
2020-07-02 08:01:50 +02:00
committed by GitHub
parent c8f4983946
commit 4c58f48645
25 changed files with 1084 additions and 1051 deletions
+4 -3
View File
@@ -2,8 +2,6 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { BaseProps } from './types';
import React, { useCallback } from 'react';
import { assert } from '@polkadot/util';
import { decodeAddress } from '@polkadot/util-crypto';
@@ -18,9 +16,12 @@ interface ScanType {
name?: string;
}
interface Props extends BaseProps {
interface Props {
className?: string;
onError?: (error: Error) => void;
onScan: (scanned: ScanType) => void;
size?: string | number;
style?: React.CSSProperties;
}
function ScanAddress ({ className, onError, onScan, size, style }: Props): React.ReactElement<Props> {