diff options
author | Alexander Tseung <alextsg@users.noreply.github.com> | 2018-12-14 10:19:36 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-14 10:19:36 +0800 |
commit | 30a2be85eebe4f6b8cddb297f14faba392fe1133 (patch) | |
tree | 34cec0a1910e9e16bbed103d4b0f65f61724f8fb /ui/app/components/send/account-list-item | |
parent | 435fdae84ac49b1366b8737215d97bd82002dccf (diff) | |
download | tangerine-wallet-browser-30a2be85eebe4f6b8cddb297f14faba392fe1133.tar tangerine-wallet-browser-30a2be85eebe4f6b8cddb297f14faba392fe1133.tar.gz tangerine-wallet-browser-30a2be85eebe4f6b8cddb297f14faba392fe1133.tar.bz2 tangerine-wallet-browser-30a2be85eebe4f6b8cddb297f14faba392fe1133.tar.lz tangerine-wallet-browser-30a2be85eebe4f6b8cddb297f14faba392fe1133.tar.xz tangerine-wallet-browser-30a2be85eebe4f6b8cddb297f14faba392fe1133.tar.zst tangerine-wallet-browser-30a2be85eebe4f6b8cddb297f14faba392fe1133.zip |
Prevent users from changing the From field in the send screen (#5922)
* Prevent users from changing the From field in the send screen
* Fix integration tests
Diffstat (limited to 'ui/app/components/send/account-list-item')
-rw-r--r-- | ui/app/components/send/account-list-item/account-list-item.component.js | 2 | ||||
-rw-r--r-- | ui/app/components/send/account-list-item/account-list-item.scss | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/components/send/account-list-item/account-list-item.component.js b/ui/app/components/send/account-list-item/account-list-item.component.js index 14bb7471f..a61467bb3 100644 --- a/ui/app/components/send/account-list-item/account-list-item.component.js +++ b/ui/app/components/send/account-list-item/account-list-item.component.js @@ -36,7 +36,7 @@ export default class AccountListItem extends Component { return (<div className={`account-list-item ${className}`} - onClick={() => handleClick({ name, address, balance })} + onClick={() => handleClick && handleClick({ name, address, balance })} > <div className="account-list-item__top-row"> diff --git a/ui/app/components/send/account-list-item/account-list-item.scss b/ui/app/components/send/account-list-item/account-list-item.scss deleted file mode 100644 index e69de29bb..000000000 --- a/ui/app/components/send/account-list-item/account-list-item.scss +++ /dev/null |