Browse Source

refactor: non arrow functions for const

Ifedapo Olarewaju 8 years ago
parent
commit
364acb8b6a
1 changed files with 1 additions and 1 deletions
  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 {