aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
authorWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-09-12 03:12:35 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2018-09-12 03:12:35 +0800
commit13bc46d8243b434268db04b58500720b4884a969 (patch)
treeee2205f50b8d9f7a771e3b31af81019c0d75f869 /app/scripts
parentf157d5371a6559937878184e5f929ec4bdd14c6d (diff)
downloadtangerine-wallet-browser-13bc46d8243b434268db04b58500720b4884a969.tar
tangerine-wallet-browser-13bc46d8243b434268db04b58500720b4884a969.tar.gz
tangerine-wallet-browser-13bc46d8243b434268db04b58500720b4884a969.tar.bz2
tangerine-wallet-browser-13bc46d8243b434268db04b58500720b4884a969.tar.lz
tangerine-wallet-browser-13bc46d8243b434268db04b58500720b4884a969.tar.xz
tangerine-wallet-browser-13bc46d8243b434268db04b58500720b4884a969.tar.zst
tangerine-wallet-browser-13bc46d8243b434268db04b58500720b4884a969.zip
Default NoticeController ctor opts to empty obj
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/notice-controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/notice-controller.js b/app/scripts/notice-controller.js
index 2def4371e..ce686d9d1 100644
--- a/app/scripts/notice-controller.js
+++ b/app/scripts/notice-controller.js
@@ -7,7 +7,7 @@ const uniqBy = require('lodash.uniqby')
module.exports = class NoticeController extends EventEmitter {
- constructor (opts) {
+ constructor (opts = {}) {
super()
this.noticePoller = null
this.firstVersion = opts.firstVersion