From 908fff46b5b35ac70b74a71c39a2189544c3fc60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Mon, 21 Jan 2019 17:28:17 +0100 Subject: [PATCH] prettier --- src/api/network.js | 6 +----- src/components/EnsureDeviceApp.js | 6 +----- src/components/SettingsPage/sections/Help.js | 5 ++++- 3 files changed, 6 insertions(+), 11 deletions(-) diff --git a/src/api/network.js b/src/api/network.js index 2dfffcfb..66504be2 100644 --- a/src/api/network.js +++ b/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 = (p: Promise, { url, method, startTime, ...rest }): Promise => diff --git a/src/components/EnsureDeviceApp.js b/src/components/EnsureDeviceApp.js index c7fc5020..623166a9 100644 --- a/src/components/EnsureDeviceApp.js +++ b/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 = diff --git a/src/components/SettingsPage/sections/Help.js b/src/components/SettingsPage/sections/Help.js index d621e144..539d0213 100644 --- a/src/components/SettingsPage/sections/Help.js +++ b/src/components/SettingsPage/sections/Help.js @@ -73,7 +73,10 @@ class SectionHelp extends PureComponent { > - +