From 7fe12af6a2217a5b0fd519e877e8fee6fc374bf0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Mon, 28 May 2018 18:30:17 +0200 Subject: [PATCH 1/2] v0.1.0-alpha.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 537f9de8..cef9fcec 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "productName": "Ledger Live", "description": "Ledger Live - Desktop", "repository": "https://github.com/LedgerHQ/ledger-live-desktop", - "version": "0.1.0-alpha.3", + "version": "0.1.0-alpha.4", "author": "Ledger", "license": "MIT", "scripts": { From efa67ea0d55ec7af4c1925fdfffcad301a61b1f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Tue, 29 May 2018 09:16:10 +0200 Subject: [PATCH 2/2] bugfix input recipient --- src/components/RecipientAddress/index.js | 2 +- src/components/modals/Send/01-step-amount.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/RecipientAddress/index.js b/src/components/RecipientAddress/index.js index 450ac44f..745ca3b0 100644 --- a/src/components/RecipientAddress/index.js +++ b/src/components/RecipientAddress/index.js @@ -45,7 +45,7 @@ const BackgroundLayer = styled(Box)` type Props = { value: string, // return false if it can't be changed (invalid info) - onChange: (string, { amount?: number, currency?: CryptoCurrency }) => ?boolean, + onChange: (string, ?{ amount?: number, currency?: CryptoCurrency }) => ?boolean, withQrCode: boolean, } diff --git a/src/components/modals/Send/01-step-amount.js b/src/components/modals/Send/01-step-amount.js index e9f6bbf6..b0efaec3 100644 --- a/src/components/modals/Send/01-step-amount.js +++ b/src/components/modals/Send/01-step-amount.js @@ -17,6 +17,7 @@ const AccountField = ({ onChange, value, t }: *) => ( ) +// TODO we should use isRecipientValid & provide a feedback to user const RecipientField = ({ bridge, account, transaction, onChangeTransaction, t }: *) => (