mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-04-19 19:01:19 +00:00
another one
This commit is contained in:
parent
5f99d5c4c6
commit
57b5de62b4
@ -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]);
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user