Closed TheFakeCake closed 2 years ago
I was browsing the live website but could not access any challenges after being logged in with Github. After a quick check, there is a bug in ChallengeHeader when currentUser.displayName doesn't exist.
ChallengeHeader
currentUser.displayName
For the solution, I took the same code I found in src/components/dashboard/Hero.js: https://github.com/rishipurwar1/coding-space/blob/ece238f583cafaed92f5bf8c48debe849bf9d71f/src/components/dashboard/Hero.js#L12-L16
src/components/dashboard/Hero.js
Someone is attempting to deploy a commit to a Personal Account owned by @rishipurwar1 on Vercel.
@rishipurwar1 first needs to authorize it.
Fixed since PR opening
I was browsing the live website but could not access any challenges after being logged in with Github. After a quick check, there is a bug in
ChallengeHeader
whencurrentUser.displayName
doesn't exist.For the solution, I took the same code I found in
src/components/dashboard/Hero.js
: https://github.com/rishipurwar1/coding-space/blob/ece238f583cafaed92f5bf8c48debe849bf9d71f/src/components/dashboard/Hero.js#L12-L16