diff --git a/web/hooks/use-prob-changes.tsx b/web/hooks/use-prob-changes.tsx index f2f3ce13..132cfd64 100644 --- a/web/hooks/use-prob-changes.tsx +++ b/web/hooks/use-prob-changes.tsx @@ -41,7 +41,7 @@ export const useProbChanges = ( const hits = uniqBy( [...positiveChanges.hits, ...negativeChanges.hits], (c) => c.id - ) + ).filter((c) => c.probChanges) return sortBy(hits, (c) => Math.abs(c.probChanges.day)).reverse() }