aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/readonly-input.js
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@users.noreply.github.com>2017-10-14 04:23:10 +0800
committerDaniel Tsui <szehungdanieltsui@gmail.com>2017-10-14 04:23:10 +0800
commit222a203353dd977f497d44bf6581c16200b5de4f (patch)
tree6a9c394db6c4e2ac3283b3e712ae411575f776fd /ui/app/components/readonly-input.js
parent803eaaf968161f16aaf72d59b979dfbb7fb9b352 (diff)
downloadtangerine-wallet-browser-222a203353dd977f497d44bf6581c16200b5de4f.tar.gz
tangerine-wallet-browser-222a203353dd977f497d44bf6581c16200b5de4f.tar.zst
tangerine-wallet-browser-222a203353dd977f497d44bf6581c16200b5de4f.zip
Fix click to copy for private key not working (#2360)
Diffstat (limited to 'ui/app/components/readonly-input.js')
-rw-r--r--ui/app/components/readonly-input.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/app/components/readonly-input.js b/ui/app/components/readonly-input.js
index 33b93b5a0..fcf05fb9e 100644
--- a/ui/app/components/readonly-input.js
+++ b/ui/app/components/readonly-input.js
@@ -15,6 +15,7 @@ ReadOnlyInput.prototype.render = function () {
inputClass = '',
value,
textarea,
+ onClick,
} = this.props
const inputType = textarea ? 'textarea' : 'input'
@@ -25,6 +26,7 @@ ReadOnlyInput.prototype.render = function () {
value,
readOnly: true,
onFocus: event => event.target.select(),
+ onClick,
}),
])
}