feature/default_network_editable
Dan Finlay 8 years ago
parent 553f1769a0
commit 11c1004a41
  1. 4
      ui/app/app.js
  2. 2
      ui/app/components/notice.js
  3. 2
      ui/lib/lost-accounts-notice.js

@ -16,7 +16,7 @@ const AccountDetailScreen = require('./account-detail')
const SendTransactionScreen = require('./send') const SendTransactionScreen = require('./send')
const ConfirmTxScreen = require('./conf-tx') const ConfirmTxScreen = require('./conf-tx')
// notice // notice
const NoticeScreen = require('./notice') const NoticeScreen = require('./components/notice')
const lostAccountsNotice = require('../lib/lost-accounts-notice') const lostAccountsNotice = require('../lib/lost-accounts-notice')
// other views // other views
const ConfigScreen = require('./config') const ConfigScreen = require('./config')
@ -374,7 +374,7 @@ App.prototype.renderPrimary = function () {
return h(NoticeScreen, { return h(NoticeScreen, {
notice: props.lastUnreadNotice, notice: props.lastUnreadNotice,
key: 'NoticeScreen', key: 'NoticeScreen',
onConfirm: () => props.dispatch(actions.markNoticeRead(notice)), onConfirm: () => props.dispatch(actions.markNoticeRead(props.lastUnreadNotice)),
}) })
} else if (props.lostAccounts && props.lostAccounts.length > 0) { } else if (props.lostAccounts && props.lostAccounts.length > 0) {
return h(NoticeScreen, { return h(NoticeScreen, {

@ -2,8 +2,6 @@ const inherits = require('util').inherits
const Component = require('react').Component const Component = require('react').Component
const h = require('react-hyperscript') const h = require('react-hyperscript')
const ReactMarkdown = require('react-markdown') const ReactMarkdown = require('react-markdown')
const connect = require('react-redux').connect
const actions = require('./actions')
const linker = require('extension-link-enabler') const linker = require('extension-link-enabler')
const findDOMNode = require('react-dom').findDOMNode const findDOMNode = require('react-dom').findDOMNode

@ -18,6 +18,6 @@ These accounts have been marked as "Loose" so they will be easy to recognize in
For more information, please read [our blog post.][1] For more information, please read [our blog post.][1]
[1]: https://medium.com/metamask/metamask-3-migration-guide-914b79533cdd#.7d8ktj4h3 [1]: https://medium.com/metamask/metamask-3-migration-guide-914b79533cdd#.7d8ktj4h3
` `,
} }
} }

Loading…
Cancel
Save