forked from Ninjalama/streamyfin_mirror
fix: early return causing crash
This commit is contained in:
@@ -40,11 +40,10 @@ export const ScrollingCollectionList: React.FC<Props> = ({
|
||||
refetchOnReconnect: true,
|
||||
});
|
||||
|
||||
if (disabled || !title) return null;
|
||||
const { t } = useTranslation();
|
||||
|
||||
if (hideIfEmpty === true && data?.length === 0) return null;
|
||||
|
||||
const { t } = useTranslation();
|
||||
if (disabled || !title) return null;
|
||||
|
||||
return (
|
||||
<View {...props}>
|
||||
|
||||
Reference in New Issue
Block a user