From 51a14c605898ead6de283eece79d3a6767933901 Mon Sep 17 00:00:00 2001 From: Fredrik Burmester Date: Fri, 7 Nov 2025 16:12:03 +0100 Subject: [PATCH] fix: linting --- components/settings/HomeIndex.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/settings/HomeIndex.tsx b/components/settings/HomeIndex.tsx index 2d768656..8ac42dd4 100644 --- a/components/settings/HomeIndex.tsx +++ b/components/settings/HomeIndex.tsx @@ -115,12 +115,12 @@ export const HomeIndex = () => { onPress={() => { router.push("/(auth)/downloads"); }} - className='p-2' + className='ml-1.5' > ), @@ -329,7 +329,7 @@ export const HomeIndex = () => { const customSections = useMemo(() => { if (!api || !user?.Id || !settings?.home?.sections) return []; const ss: Section[] = []; - for (const [index, section] of settings.home.sections.entries()) { + settings.home.sections.forEach((section, index) => { const id = section.title || `section-${index}`; ss.push({ title: t(`${id}`), @@ -384,7 +384,7 @@ export const HomeIndex = () => { type: "ScrollingCollectionList", orientation: section?.orientation || "vertical", }); - } + }); return ss; }, [api, user?.Id, settings?.home?.sections]);