Closed rosekamallove closed 2 years ago
Hello is it still a problem as I don't know how to reproduce
const handleAddToBookamrk = async (
playlistID,
uid,
title = "Untitled",
thumbnail = "https://i.stack.imgur.com/y9DpT.jpg"
) => {
const handleAddToBookamrk = async (
playlistID,
uid,
title = "Untitled",
thumbnail = "https://i.stack.imgur.com/y9DpT.jpg" // This is a placeholder image, if the function call doesn't povide the image and title.
) => {
So if you bookmark a course from the Courses page it adds these placeholders, so it would be nice to add thumbnails.
But I don't think you should contribute now, I am thinking of a re-write in Next.js and writing my own backend in Deno and MongoDB
Currently, the course page uses downloaded images, it would be better to use a URL of the thumbnail image and pass it to the addBookmarks() function