aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send/account-list-item
diff options
context:
space:
mode:
authorAlexander Tseung <alextsg@users.noreply.github.com>2018-12-14 10:19:36 +0800
committerGitHub <noreply@github.com>2018-12-14 10:19:36 +0800
commit30a2be85eebe4f6b8cddb297f14faba392fe1133 (patch)
tree34cec0a1910e9e16bbed103d4b0f65f61724f8fb /ui/app/components/send/account-list-item
parent435fdae84ac49b1366b8737215d97bd82002dccf (diff)
downloadtangerine-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.js2
-rw-r--r--ui/app/components/send/account-list-item/account-list-item.scss0
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