Kubessandra / react-google-calendar-api

An api to manage your google calendar
MIT License
213 stars 89 forks source link

handleAuthClick should return promise #67

Closed nickakey closed 2 years ago

nickakey commented 3 years ago

Hello!

this.gapi.auth2.getAuthInstance().signIn() returns a promise (Docs here)

and it would be great to have that reflected in the handleAuthClick method :)

I can make a quick PR if helpful

tanzyy96 commented 3 years ago

yes this would be awesome. I was looking exactly for this!

Kubessandra commented 3 years ago

Hello, Thank you for the update. If you have have a quick PR for that it would be perfect.