mirror of
https://github.com/Jellify-Music/App.git
synced 2026-01-30 23:19:03 -06:00
fix some horizontal flatlist stuff
This commit is contained in:
@@ -29,9 +29,9 @@ export default function HorizontalCardList({
|
||||
|
||||
return (
|
||||
<FlatList
|
||||
{ ...props }
|
||||
horizontal
|
||||
data={(props.data as Array<BaseItemDto> | undefined)?.slice(0, cutoff - 1) ?? undefined}
|
||||
renderItem={props.renderItem}
|
||||
ListFooterComponent={() => {
|
||||
return props.data ? (
|
||||
<IconCard
|
||||
|
||||
Reference in New Issue
Block a user