Fix daily prob showing global daily prob

This commit is contained in:
James Grugett 2022-10-03 17:23:21 -05:00
parent d0d223f7ad
commit 5214f27be3

View File

@ -28,11 +28,11 @@ export const useProbChanges = (
}
const { data: positiveChanges } = useQuery(
['prob-change-day', groupSlugs],
['prob-change-day', groupSlugs, bettorId],
() => probChangeDescendingIndex.search<CPMMBinaryContract>('', searchParams)
)
const { data: negativeChanges } = useQuery(
['prob-change-day-ascending', groupSlugs],
['prob-change-day-ascending', groupSlugs, bettorId],
() => probChangeAscendingIndex.search<CPMMBinaryContract>('', searchParams)
)