Skip to content

Commit

Permalink
remove annotated tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfauquette committed Dec 4, 2024
1 parent a8e5f7b commit 21d2588
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/pages/nutrition/useRobotoffPredicitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -33,7 +33,6 @@ export function useRobotoffPredicitions() {
};
}, [insightIndex, insights]);


const nextItem = React.useCallback(() => {
setInsightIndex((p) => p + 1);
setCount((p) => p - 1);
Expand Down

0 comments on commit 21d2588

Please sign in to comment.