Rename function to be an action

feature/default_network_editable
Dan Finlay 8 years ago
parent 9e54e3baa0
commit d3b2698f34
  1. 4
      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()),
})

Loading…
Cancel
Save