mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-06-23 16:05:24 +00:00
another one
This commit is contained in:
parent
5f99d5c4c6
commit
57b5de62b4
@ -38,6 +38,7 @@ export default function VideosCarousel() {
|
|||||||
if (res.data) {
|
if (res.data) {
|
||||||
res.data.forEach(lesson => {
|
res.data.forEach(lesson => {
|
||||||
if (lesson?.resource?.price > 0) {
|
if (lesson?.resource?.price > 0) {
|
||||||
|
console.log("lesson?.resource?.resourceId", lesson);
|
||||||
setPaidLessons(prev => [...prev, lesson?.resource?.resourceId]);
|
setPaidLessons(prev => [...prev, lesson?.resource?.resourceId]);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user