diff options
author | brunobar79 <brunobar79@gmail.com> | 2018-08-04 08:11:46 +0800 |
---|---|---|
committer | brunobar79 <brunobar79@gmail.com> | 2018-08-04 08:11:46 +0800 |
commit | e9a0feb9e909d59b9945fd367231cc4e47327873 (patch) | |
tree | 0df7a71fc8c665a3cc41fbc2d5ea5e333159c158 /ui/app/components/send/send.component.js | |
parent | af97ba103cea6e9f5e114d916f920b28d96d4e8a (diff) | |
download | tangerine-wallet-browser-e9a0feb9e909d59b9945fd367231cc4e47327873.tar.gz tangerine-wallet-browser-e9a0feb9e909d59b9945fd367231cc4e47327873.tar.zst tangerine-wallet-browser-e9a0feb9e909d59b9945fd367231cc4e47327873.zip |
fixed issue with input
Diffstat (limited to 'ui/app/components/send/send.component.js')
-rw-r--r-- | ui/app/components/send/send.component.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/app/components/send/send.component.js b/ui/app/components/send/send.component.js index 80b50fad4..0d8ffd179 100644 --- a/ui/app/components/send/send.component.js +++ b/ui/app/components/send/send.component.js @@ -39,6 +39,7 @@ export default class SendTransactionScreen extends PersistentForm { updateSendErrors: PropTypes.func, updateSendTokenBalance: PropTypes.func, scanQrCode: PropTypes.func, + qrCodeDetected: PropTypes.func, qrCodeData: PropTypes.object, }; @@ -54,8 +55,8 @@ export default class SendTransactionScreen extends PersistentForm { if (currentAddress !== scannedAddress) { this.props.updateSendTo(scannedAddress) this.updateGas({ to: scannedAddress }) - - // Here we should clear props.qrCodeData + // Clean up QR code data after handling + this.props.qrCodeDetected(null) } } } |