|
|
|
@ -142,7 +142,7 @@ function Product({ |
|
|
|
|
fontFamily: "demi", |
|
|
|
|
}} |
|
|
|
|
> |
|
|
|
|
{book?.name} |
|
|
|
|
{book?.name || " "} |
|
|
|
|
</Text> |
|
|
|
|
<Text |
|
|
|
|
style={{ |
|
|
|
@ -155,7 +155,7 @@ function Product({ |
|
|
|
|
fontFamily: "regular", |
|
|
|
|
}} |
|
|
|
|
> |
|
|
|
|
{"پایه" + " " + grades[book?.gradeId]} |
|
|
|
|
{"پایه" + " " + (grades[book?.gradeId] || " ")} |
|
|
|
|
</Text> |
|
|
|
|
</View> |
|
|
|
|
</View> |
|
|
|
@ -207,7 +207,7 @@ function Product({ |
|
|
|
|
{seasons |
|
|
|
|
?.sort((a, b) => a[0]?.categoryId - b[0]?.categoryId) |
|
|
|
|
?.map((season, index) => ( |
|
|
|
|
<Season season={season} key={index} id={book?.id} /> |
|
|
|
|
<Season season={season} key={index} id={book?.id} index={index} /> |
|
|
|
|
))} |
|
|
|
|
</View> |
|
|
|
|
</ScrollView> |
|
|
|
|