ConnectPlus-Org / ConnectPlus-Frontend

Frontend Repository of ConnectPlus
https://connect-plus-frontend.vercel.app
8 stars 25 forks source link

The carousel shows 2 images while there are only 1. #16

Open Archiehere opened 12 months ago

Archiehere commented 12 months ago

This is Due to the Video tag in the carousel in case there is a video in the post. But if there is no video then it is shown as a Black image for no reason despite it being set as null or undefined in the code.

image

This is what it looks like.

image

As you can see, there is no file on the 2nd image of the carousel. It exists due to the conditionally rendered video tag in the code on the filepath :- src/homepage/Post.tsx :-

image

Icarus-05 commented 12 months ago

Hey. I would like to fix this issue and contribute. Can you give me access to the repo ?