aboutsummaryrefslogtreecommitdiffstats
path: root/mascara/src/app/first-time/notice-screen.js
diff options
context:
space:
mode:
authorJacky Chan <jchan@uber.com>2017-08-30 16:30:55 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-10-21 12:51:37 +0800
commit85e485128ff3ca4e458bd5d99d15dc295de70f43 (patch)
tree05cec7065bc7c6102dbc5265528629b6cd3e54be /mascara/src/app/first-time/notice-screen.js
parent4ecd28ca9b50aab4363339405d90a2bcc511bf26 (diff)
downloadtangerine-wallet-browser-85e485128ff3ca4e458bd5d99d15dc295de70f43.tar
tangerine-wallet-browser-85e485128ff3ca4e458bd5d99d15dc295de70f43.tar.gz
tangerine-wallet-browser-85e485128ff3ca4e458bd5d99d15dc295de70f43.tar.bz2
tangerine-wallet-browser-85e485128ff3ca4e458bd5d99d15dc295de70f43.tar.lz
tangerine-wallet-browser-85e485128ff3ca4e458bd5d99d15dc295de70f43.tar.xz
tangerine-wallet-browser-85e485128ff3ca4e458bd5d99d15dc295de70f43.tar.zst
tangerine-wallet-browser-85e485128ff3ca4e458bd5d99d15dc295de70f43.zip
Add Go to Coinbase; Show Buy Ether after signup
Diffstat (limited to 'mascara/src/app/first-time/notice-screen.js')
-rw-r--r--mascara/src/app/first-time/notice-screen.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/mascara/src/app/first-time/notice-screen.js b/mascara/src/app/first-time/notice-screen.js
index d6502a6b2..8c9a0cd41 100644
--- a/mascara/src/app/first-time/notice-screen.js
+++ b/mascara/src/app/first-time/notice-screen.js
@@ -57,10 +57,9 @@ class NoticeScreen extends Component {
}
export default connect(
- ({ metamask: { identities, lastUnreadNotice } }) => ({
+ ({ metamask: { selectedAddress, lastUnreadNotice } }) => ({
lastUnreadNotice,
- address: Object.entries(identities)
- .map(([key]) => key)[0]
+ address: selectedAddress
}),
dispatch => ({
markNoticeRead: notice => dispatch(markNoticeRead(notice))