1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
This commit is contained in:
Kevin Serrano 2016-12-20 16:45:22 -08:00
parent 572980402d
commit aea263a80d
No known key found for this signature in database
GPG Key ID: 7CC862A58D2889B4
2 changed files with 12 additions and 12 deletions

View File

@ -41,7 +41,7 @@ module.exports = class NoticeController extends EventEmitter {
var id = notice.id var id = notice.id
notices[id].read = true notices[id].read = true
this.setNoticesList(notices) this.setNoticesList(notices)
let latestNotice = this.getLatestUnreadNotice() const latestNotice = this.getLatestUnreadNotice()
cb(null, latestNotice) cb(null, latestNotice)
} catch (err) { } catch (err) {
cb(err) cb(err)

View File

@ -10,7 +10,7 @@ module.exports = connect(mapStateToProps)(ConfigScreen)
function mapStateToProps (state) { function mapStateToProps (state) {
return { return {
metamask: state.metamask, metamask: state.metamask,
warning: state.appState.warning warning: state.appState.warning,
} }
} }