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);