Fix home page horizontal bars

This commit is contained in:
Zoe Roux
2026-02-15 13:18:36 +01:00
parent 30223dfa4d
commit 082f3283f5
17 changed files with 158 additions and 253 deletions
+2 -1
View File
@@ -67,6 +67,8 @@ export const InfiniteFetch = <Data, Type extends string = string>({
return isFetching ? [...items, ...placeholders] : items;
}, [items, isFetching, placeholderCount, numColumns]);
if (!data.length && Empty) return Empty;
return (
<AnimatedLegendList
data={data}
@@ -97,7 +99,6 @@ export const InfiniteFetch = <Data, Type extends string = string>({
ItemSeparatorComponent={
Divider === true ? HR : (Divider as any) || undefined
}
ListEmptyComponent={Empty}
showsHorizontalScrollIndicator={false}
showsVerticalScrollIndicator={false}
contentContainerStyle={{