diff --git a/web/hooks/use-prob-changes.tsx b/web/hooks/use-prob-changes.tsx index 3e0e1a1a..b4bd66f6 100644 --- a/web/hooks/use-prob-changes.tsx +++ b/web/hooks/use-prob-changes.tsx @@ -30,12 +30,12 @@ export const useProbChangesAlgolia = (userId: string) => { } return { - positiveChanges: positiveData.hits.filter( - (c) => c.probChanges && c.probChanges.day > 0 - ), - negativeChanges: negativeData.hits.filter( - (c) => c.probChanges && c.probChanges.day < 0 - ), + positiveChanges: positiveData.hits + .filter((c) => c.probChanges && c.probChanges.day > 0) + .filter((c) => c.outcomeType === 'BINARY'), + negativeChanges: negativeData.hits + .filter((c) => c.probChanges && c.probChanges.day < 0) + .filter((c) => c.outcomeType === 'BINARY'), } }