From 1f67e1532fc73b20c4176acc58c524b9684253d8 Mon Sep 17 00:00:00 2001 From: "Sven (AAMOS AI)" Date: Fri, 14 Aug 2026 18:45:36 +0700 Subject: [PATCH] =?UTF-8?q?polish(mobile):=20cooking-avbryt,=20scan-review?= =?UTF-8?q?=20useEffect,=20stack-titlar,=20d=C3=B6d=20kod=20(MIKRO=2055)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/mobile/src/app/(tabs)/home.tsx | 4 ---- apps/mobile/src/app/_layout.tsx | 2 ++ apps/mobile/src/app/cooking/[id].tsx | 1 + apps/mobile/src/app/recipe/[id].tsx | 4 ---- apps/mobile/src/app/scan-review/[jobId].tsx | 4 ++-- 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/apps/mobile/src/app/(tabs)/home.tsx b/apps/mobile/src/app/(tabs)/home.tsx index fde011c..6177b34 100644 --- a/apps/mobile/src/app/(tabs)/home.tsx +++ b/apps/mobile/src/app/(tabs)/home.tsx @@ -193,7 +193,3 @@ function ExpiryTag({ expiry }: { expiry: InventoryItem["expiry"] }) { } return ; } - -function formatQty(quantity: number): string { - return Number.isInteger(quantity) ? String(quantity) : quantity.toFixed(1); -} diff --git a/apps/mobile/src/app/_layout.tsx b/apps/mobile/src/app/_layout.tsx index 010de32..fa614a8 100644 --- a/apps/mobile/src/app/_layout.tsx +++ b/apps/mobile/src/app/_layout.tsx @@ -77,6 +77,8 @@ export default function RootLayout() { /> + + diff --git a/apps/mobile/src/app/cooking/[id].tsx b/apps/mobile/src/app/cooking/[id].tsx index 61a039c..36bf675 100644 --- a/apps/mobile/src/app/cooking/[id].tsx +++ b/apps/mobile/src/app/cooking/[id].tsx @@ -255,6 +255,7 @@ export default function CookingScreen() { return ( +