limit this

This commit is contained in:
Violet Caulfield
2025-02-18 22:44:50 -06:00
parent 9eb554f636
commit 97ed0c05cf

View File

@@ -30,7 +30,7 @@ export default function HorizontalCardList({
return (
<FlatList
horizontal
data={props.data}
data={(props.data as Array<BaseItemDto>).slice(0, cutoff - 1)}
renderItem={props.renderItem}
ListFooterComponent={() => {
return props.data ? (