mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Lint.
This commit is contained in:
parent
572980402d
commit
aea263a80d
@ -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)
|
||||||
|
@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user