elie222 / inbox-zero

Open source email app to reach inbox zero fast.
https://www.getinboxzero.com
GNU Affero General Public License v3.0
2.17k stars 194 forks source link

prevent signin button to popup while switching to other page #174

Closed Deeptanshu-sankhwar closed 3 months ago

Deeptanshu-sankhwar commented 3 months ago

This PR fixes #168

It conditionally checks the state of the react hook useSession(), and renders the button strategically based on the states of authenticated, loading and unathenticated

vercel[bot] commented 3 months ago

Someone is attempting to deploy a commit to the Inbox Zero Team on Vercel.

A member of the Team first needs to authorize it.

CLAassistant commented 3 months ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Deeptanshu Sankhwar seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

Deeptanshu-sankhwar commented 3 months ago

This PR has been updated @elie222. Kindly review it.