kalmk / team-progress

0 stars 0 forks source link

ERROR) when signed out, clicking on a video card produces white screen because of handleSub function #1

Open kalmk opened 8 hours ago

kalmk commented 8 hours ago

When you are logged in, and when you click on a video card, you can see the video running and the comments.

However, when you are signed out, and click on a vide card, the entire screen turns white.

EDIT 10/25) the error line is at Video.jsx 205 on image

image this handleSub function is the one that is making the screen white. it is saying "currentUser" when, come on, if you are not logged in, you dont have any data about this "current user". we gotta make some if statements when the current user is not logged in, we just gotta ignore or disable this handleSub function, capiche?

image image

image image