hereisSwapnil / ExamTime

Share/Download notes PDF helps during exams
https://exam-time.vercel.app
MIT License
59 stars 121 forks source link

FIX: data fetch request is send to backend without user logedin causes error is solved #258

Open Chetan-Jalandharia opened 1 month ago

Chetan-Jalandharia commented 1 month ago

Description

When page first render on browser some functions send req to server with token which is not generated and giving an error and page is not rendering. Also in userContext page req is sending with token. Now the problem is solved by adding some validation checks for token and then req is send to server and all pages are working.

Resolves: #257

I certify that I have carried out the relevant checks and provided the requisite screenshot for validation by submitting this pull request.

vercel[bot] commented 1 month ago

@Chetan-Jalandharia is attempting to deploy a commit to the swapnilsingh99's projects Team on Vercel.

A member of the Team first needs to authorize it.