From 21d25889050bd91971d837eebfdf49e235d9b06a Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 4 Dec 2024 16:17:01 +0100 Subject: [PATCH] remove annotated tabs --- src/pages/nutrition/useRobotoffPredicitions.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pages/nutrition/useRobotoffPredicitions.ts b/src/pages/nutrition/useRobotoffPredicitions.ts index 8c94dd41f..8b635a924 100644 --- a/src/pages/nutrition/useRobotoffPredicitions.ts +++ b/src/pages/nutrition/useRobotoffPredicitions.ts @@ -16,7 +16,7 @@ export function useRobotoffPredicitions() { setIsLoading(true); robotoff - .getInsights("", "nutrient_extraction", "", "", 1) + .getInsights("", "nutrient_extraction", "", "not_annotated", 1) .then(({ data }) => { if (!valid) { return; @@ -33,7 +33,6 @@ export function useRobotoffPredicitions() { }; }, [insightIndex, insights]); - const nextItem = React.useCallback(() => { setInsightIndex((p) => p + 1); setCount((p) => p - 1);