Skip to content

Commit

Permalink
eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienGllmt committed Aug 9, 2020
1 parent 61f337c commit 9ea2b9f
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions app/components/wallet/WalletRestoreVerifyDialog.js
Expand Up @@ -292,8 +292,10 @@ export default class WalletRestoreVerifyDialog extends Component<Props> {
<DialogTextBlock subclass="component-bottom">
{addressElems.map((elem, i) => {
if (i === 0) {
// eslint-disable-next-line react/no-array-index-key
return <span key={i}>{elem}</span>;
}
// eslint-disable-next-line react/no-array-index-key
return <span key={i}><br />{elem}</span>;
})}
</DialogTextBlock>
Expand Down
1 change: 0 additions & 1 deletion app/stores/ada/AdaYoroiTransferStore.js
Expand Up @@ -14,7 +14,6 @@ import {
HARD_DERIVATION_START,
WalletTypePurpose,
CoinTypes,
ChainDerivations,
} from '../../config/numbersConfig';
import type { RestoreWalletForTransferResponse, RestoreWalletForTransferFunc } from '../../api/ada/index';
import {
Expand Down
2 changes: 1 addition & 1 deletion app/stores/ada/TrezorConnectStore.js
Expand Up @@ -401,7 +401,7 @@ export default class TrezorConnectStore
|| this.hwDeviceInfo.hwFeatures == null) {
throw new Error('Trezor device hardware info not valid');
}
const { publicMasterKey, hwFeatures} = this.hwDeviceInfo;
const { publicMasterKey, hwFeatures } = this.hwDeviceInfo;

const persistentDb = this.stores.loading.loadPersistentDbRequest.result;
if (persistentDb == null) {
Expand Down
1 change: 0 additions & 1 deletion features/mock-chain/mockCardanoImporter.js
Expand Up @@ -4,7 +4,6 @@ import cryptoRandomString from 'crypto-random-string';
import type {
SignedRequestInternal, SignedResponse,
RemoteTransaction,
TxBodiesFunc,
UtxoSumFunc,
PoolInfoFunc,
AddressUtxoFunc,
Expand Down
1 change: 0 additions & 1 deletion features/mock-chain/mockCardanoServer.js
Expand Up @@ -7,7 +7,6 @@ import type {
HistoryRequest, HistoryResponse,
BestBlockRequest, BestBlockResponse,
SignedResponse,
TxBodiesRequest, TxBodiesResponse,
SignedRequestInternal,
} from '../../app/api/ada/lib/state-fetch/types';
import type {
Expand Down

0 comments on commit 9ea2b9f

Please sign in to comment.