mirror of
https://github.com/Jellify-Music/App.git
synced 2026-02-13 14:08:31 -06:00
horizontal list doesn't display see more if there are no items
This commit is contained in:
@@ -37,7 +37,8 @@ export default function HorizontalCardList({
|
||||
horizontal
|
||||
data={items?.slice(0, cutoff - 1) ?? undefined}
|
||||
renderItem={renderItem}
|
||||
ListFooterComponent={(
|
||||
ListFooterComponent={() => {
|
||||
return items ? (
|
||||
<IconCard
|
||||
name={
|
||||
squared
|
||||
@@ -48,7 +49,8 @@ export default function HorizontalCardList({
|
||||
caption="See More"
|
||||
onPress={onSeeMore}
|
||||
/>
|
||||
)}
|
||||
) : undefined}
|
||||
}
|
||||
/>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user