another one

This commit is contained in:
austinkelsay 2024-10-13 18:09:05 -05:00
parent 5f99d5c4c6
commit 57b5de62b4

View File

@ -38,6 +38,7 @@ export default function VideosCarousel() {
if (res.data) {
res.data.forEach(lesson => {
if (lesson?.resource?.price > 0) {
console.log("lesson?.resource?.resourceId", lesson);
setPaidLessons(prev => [...prev, lesson?.resource?.resourceId]);
}
});