瀏覽代碼

refactor: non arrow functions for const

Ifedapo Olarewaju 8 年之前
父節點
當前提交
364acb8b6a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/generic-provider-views/index.js

+ 1 - 1
src/generic-provider-views/index.js

@@ -262,7 +262,7 @@ module.exports = class View {
     const link = `${this.plugin.opts.host}/connect/${this.Provider.authProvider}?state=${authState}`
 
     const authWindow = window.open(link, '_blank')
-    const checkAuth = () => {
+    const checkAuth = function () {
       let authWindowUrl
 
       try {