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 (
+
);
}
-
-function formatQty(quantity: number): string {
- return Number.isInteger(quantity) ? String(quantity) : String(Math.round(quantity * 100) / 100);
-}
diff --git a/apps/mobile/src/app/scan-review/[jobId].tsx b/apps/mobile/src/app/scan-review/[jobId].tsx
index f8cc629..582dbac 100644
--- a/apps/mobile/src/app/scan-review/[jobId].tsx
+++ b/apps/mobile/src/app/scan-review/[jobId].tsx
@@ -1,4 +1,4 @@
-import { useEffect, useMemo, useState } from "react";
+import { useEffect, useState } from "react";
import { Alert, View } from "react-native";
import { router, useLocalSearchParams } from "expo-router";
import { useQuery, useQueryClient } from "@tanstack/react-query";
@@ -90,7 +90,7 @@ export default function ScanReviewScreen() {
const job = query.data;
// Initiera redigerbara rader när resultatet landar
- useMemo(() => {
+ useEffect(() => {
if (job?.status === "awaiting_confirmation" && job.result?.items && items == null) {
setItems(
job.result.items.map((item, index) => ({