From 31f217af25f1893b7fa126050b5814c0fd2feb7a Mon Sep 17 00:00:00 2001 From: meriadec Date: Tue, 3 Jul 2018 18:38:30 +0200 Subject: [PATCH] Update font-weight and icon styles of DeviceInteraction --- src/components/DeviceInteraction/DeviceInteractionStep.js | 2 +- src/components/EnsureDeviceApp.js | 6 +++--- src/components/GenuineCheck.js | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/DeviceInteraction/DeviceInteractionStep.js b/src/components/DeviceInteraction/DeviceInteractionStep.js index 3ba0fb8a..3e4a3ce5 100644 --- a/src/components/DeviceInteraction/DeviceInteractionStep.js +++ b/src/components/DeviceInteraction/DeviceInteractionStep.js @@ -180,7 +180,7 @@ class DeviceInteractionStep extends PureComponent< {step.icon} {title && ( - + {title} )} diff --git a/src/components/EnsureDeviceApp.js b/src/components/EnsureDeviceApp.js index edbc3f7e..c63caa6b 100644 --- a/src/components/EnsureDeviceApp.js +++ b/src/components/EnsureDeviceApp.js @@ -27,8 +27,8 @@ import { getCurrentDevice } from 'reducers/devices' export const WrongAppOpened = createCustomErrorClass('WrongAppOpened') export const WrongDeviceForAccount = createCustomErrorClass('WrongDeviceForAccount') -const usbIcon = -const Bold = props => +const usbIcon = +const Bold = props => const mapStateToProps = state => ({ device: getCurrentDevice(state), @@ -107,7 +107,7 @@ class EnsureDeviceApp extends Component<{ { id: 'address', title: this.renderOpenAppTitle, - icon: Icon ? : null, + icon: Icon ? : null, run: this.openAppInteractionHandler, }, ]} diff --git a/src/components/GenuineCheck.js b/src/components/GenuineCheck.js index f00a0e8e..1e3f04af 100644 --- a/src/components/GenuineCheck.js +++ b/src/components/GenuineCheck.js @@ -36,15 +36,15 @@ type Props = { device: ?Device, } -const usbIcon = -const homeIcon = -const genuineCheckIcon = +const usbIcon = +const homeIcon = +const genuineCheckIcon = const mapStateToProps = state => ({ device: getCurrentDevice(state), }) -const Bold = props => +const Bold = props => // to speed up genuine check, cache result by device id const genuineDevices = new WeakSet()