aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send/send.component.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/send/send.component.js')
-rw-r--r--ui/app/components/send/send.component.js5
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)
}
}
}