Browse Source

prettier

gre-patch-1
Gaëtan Renaudeau 6 years ago
parent
commit
908fff46b5
No known key found for this signature in database GPG Key ID: 7B66B85F042E5451
  1. 6
      src/api/network.js
  2. 6
      src/components/EnsureDeviceApp.js
  3. 5
      src/components/SettingsPage/sections/Help.js

6
src/api/network.js

@ -3,11 +3,7 @@ import axios from 'axios'
import { GET_CALLS_RETRY, GET_CALLS_TIMEOUT } from 'config/constants'
import { retry } from 'helpers/promise'
import logger from 'logger'
import {
LedgerAPIErrorWithMessage,
LedgerAPIError,
NetworkDown,
} from '@ledgerhq/errors'
import { LedgerAPIErrorWithMessage, LedgerAPIError, NetworkDown } from '@ledgerhq/errors'
import anonymizer from 'helpers/anonymizer'
const userFriendlyError = <A>(p: Promise<A>, { url, method, startTime, ...rest }): Promise<A> =>

6
src/components/EnsureDeviceApp.js

@ -23,11 +23,7 @@ import IconUsb from 'icons/Usb'
import type { Device } from 'types/common'
import {
WrongDeviceForAccount,
CantOpenDevice,
UpdateYourApp,
} from '@ledgerhq/errors'
import { WrongDeviceForAccount, CantOpenDevice, UpdateYourApp } from '@ledgerhq/errors'
import { getCurrentDevice } from 'reducers/devices'
const usbIcon = <IconUsb size={16} />

5
src/components/SettingsPage/sections/Help.js

@ -73,7 +73,10 @@ class SectionHelp extends PureComponent<Props> {
>
<ResetButton />
</Row>
<Row title={t('settings.repairDevice.title')} desc={t('settings.repairDevice.descSettings')}>
<Row
title={t('settings.repairDevice.title')}
desc={t('settings.repairDevice.descSettings')}
>
<RepairDeviceButton />
</Row>
</Body>

Loading…
Cancel
Save