From 3aabfd9824cc8d891afa1693ee9d64b7fe77f68c Mon Sep 17 00:00:00 2001 From: Ledger Date: Fri, 13 Jul 2018 12:35:21 +0200 Subject: [PATCH] Handle case where device path change when opening app --- src/components/EnsureDeviceApp.js | 3 ++- src/components/GenuineCheck.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/EnsureDeviceApp.js b/src/components/EnsureDeviceApp.js index 75c11063..6e1be5ac 100644 --- a/src/components/EnsureDeviceApp.js +++ b/src/components/EnsureDeviceApp.js @@ -85,11 +85,12 @@ class EnsureDeviceApp extends Component<{ } render() { - const { account, currency, ...props } = this.props + const { account, currency, device, ...props } = this.props const cur = account ? account.currency : currency const Icon = cur ? getCryptoCurrencyIcon(cur) : null return ( { } render() { - const { onSuccess, ...props } = this.props + const { onSuccess, device, ...props } = this.props const steps = [ { id: 'device', @@ -156,6 +156,7 @@ class GenuineCheck extends PureComponent { return (