uday pareta

Results 3 comments of uday pareta

> @rana002 @yeshwantthota problem is that the server renders the image before it is able to fetch `post.creator.image` resulting in undefined. You can fix that by simply adding ? between...

if (post.creator._id === session?.user.id) return router.push("/profile"); in these line i got an error TypeError: Cannot read properties of undefined (reading '_id')

> > @MihailoMilic but the content is missing. it is rendered like this ![Screenshot 2023-12-14 150650](https://private-user-images.githubusercontent.com/85405666/290474924-95b3062e-ac4b-415b-863a-b319caa3ff66.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MDM0ODMwNzEsIm5iZiI6MTcwMzQ4Mjc3MSwicGF0aCI6Ii84NTQwNTY2Ni8yOTA0NzQ5MjQtOTViMzA2MmUtYWM0Yi00MTViLTg2M2EtYjMxOWNhYTNmZjY2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFJV05KWUFYNENTVkVINTNBJTJGMjAyMzEyMjUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjMxMjI1VDA1MzkzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZmZmUwMjI1NTI4MmY1OWNjNGIwZDdhYTY1MWU4ZmYwMDVkMzMyZDcyMTI1OGRiNWY4MzA4ZTAxYjg1YTA0NmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.7SQegPN4Q9nVOccn6wy_CiNHWQORB-XY6jB1S0zNRY4) > > console shows the required attribute 'src' missing. > > Same issue can...