10kumaranurag01 / todo-done

https://todo-done.anuragg.top/
9 stars 28 forks source link

fix(navigation): Access to Login Page After Authentication (hacktoberfest) #45

Closed SauravGupta123 closed 1 month ago

SauravGupta123 commented 1 month ago

I have used a useeffect hook that checks the presence of token before the component mounts. This prevents the access to login page if the user is already logged in.

vercel[bot] commented 1 month ago

@SauravGupta123 is attempting to deploy a commit to the Kumar Anurag Sahu's projects Team on Vercel.

A member of the Team first needs to authorize it.

SauravGupta123 commented 1 month ago

ss

@10kumaranurag01 please look into this.

10kumaranurag01 commented 1 month ago

I gave a tag of acceptance