aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-12-23 06:09:10 +0800
committerDan Finlay <dan@danfinlay.com>2016-12-23 06:09:10 +0800
commitd3b2698f341e1d0dda86612cdf331e51067719c5 (patch)
tree75af1a8b469a5995f09ccf9f47eaa568a0d2d3d3
parent9e54e3baa0799e5083a9f9152f128077a2ee0527 (diff)
downloadtangerine-wallet-browser-d3b2698f341e1d0dda86612cdf331e51067719c5.tar
tangerine-wallet-browser-d3b2698f341e1d0dda86612cdf331e51067719c5.tar.gz
tangerine-wallet-browser-d3b2698f341e1d0dda86612cdf331e51067719c5.tar.bz2
tangerine-wallet-browser-d3b2698f341e1d0dda86612cdf331e51067719c5.tar.lz
tangerine-wallet-browser-d3b2698f341e1d0dda86612cdf331e51067719c5.tar.xz
tangerine-wallet-browser-d3b2698f341e1d0dda86612cdf331e51067719c5.tar.zst
tangerine-wallet-browser-d3b2698f341e1d0dda86612cdf331e51067719c5.zip
Rename function to be an action
-rw-r--r--ui/app/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index e98e635a2..6da0c3b1d 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -17,7 +17,7 @@ const SendTransactionScreen = require('./send')
const ConfirmTxScreen = require('./conf-tx')
// notice
const NoticeScreen = require('./components/notice')
-const lostAccountsNotice = require('../lib/lost-accounts-notice')
+const generateLostAccountsNotice = require('../lib/lost-accounts-notice')
// other views
const ConfigScreen = require('./config')
const InfoScreen = require('./info')
@@ -378,7 +378,7 @@ App.prototype.renderPrimary = function () {
})
} else if (props.lostAccounts && props.lostAccounts.length > 0) {
return h(NoticeScreen, {
- notice: lostAccountsNotice(props.lostAccounts),
+ notice: generateLostAccountsNotice(props.lostAccounts),
key: 'LostAccountsNotice',
onConfirm: () => props.dispatch(actions.markAccountsFound()),
})