From 5214f27be3634ad3d943d879b6caf334cd3b92de Mon Sep 17 00:00:00 2001 From: James Grugett Date: Mon, 3 Oct 2022 17:23:21 -0500 Subject: [PATCH] Fix daily prob showing global daily prob --- web/hooks/use-prob-changes.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/hooks/use-prob-changes.tsx b/web/hooks/use-prob-changes.tsx index 132cfd64..3a00faa0 100644 --- a/web/hooks/use-prob-changes.tsx +++ b/web/hooks/use-prob-changes.tsx @@ -28,11 +28,11 @@ export const useProbChanges = ( } const { data: positiveChanges } = useQuery( - ['prob-change-day', groupSlugs], + ['prob-change-day', groupSlugs, bettorId], () => probChangeDescendingIndex.search('', searchParams) ) const { data: negativeChanges } = useQuery( - ['prob-change-day-ascending', groupSlugs], + ['prob-change-day-ascending', groupSlugs, bettorId], () => probChangeAscendingIndex.search('', searchParams) )