Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyjgrove committed Apr 22, 2020
2 parents 279dae6 + 9f8e832 commit a5c69e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/google-login.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,7 @@ GoogleLogin.defaultProps = {
},
icon: true,
theme: 'light',
onRequest: () => {},
jsSrc: 'https://apis.google.com/js/api.js'
onRequest: () => {}
}

export default GoogleLogin
2 changes: 1 addition & 1 deletion src/load-script.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export default (d, s, id, jsSrc, cb) => {
let js = element
js = d.createElement(s)
js.id = id
js.src = jsSrc
js.src = jsSrc || 'https://apis.google.com/js/api.js'
if (fjs && fjs.parentNode) {
fjs.parentNode.insertBefore(js, fjs)
} else {
Expand Down

0 comments on commit a5c69e9

Please sign in to comment.