diff --git a/components/home/ScrollingCollectionList.tsx b/components/home/ScrollingCollectionList.tsx index 6b4ef40c..06f5a057 100644 --- a/components/home/ScrollingCollectionList.tsx +++ b/components/home/ScrollingCollectionList.tsx @@ -40,11 +40,10 @@ export const ScrollingCollectionList: React.FC = ({ 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 (