Fix daily prob showing global daily prob
This commit is contained in:
parent
d0d223f7ad
commit
5214f27be3
|
@ -28,11 +28,11 @@ export const useProbChanges = (
|
||||||
}
|
}
|
||||||
|
|
||||||
const { data: positiveChanges } = useQuery(
|
const { data: positiveChanges } = useQuery(
|
||||||
['prob-change-day', groupSlugs],
|
['prob-change-day', groupSlugs, bettorId],
|
||||||
() => probChangeDescendingIndex.search<CPMMBinaryContract>('', searchParams)
|
() => probChangeDescendingIndex.search<CPMMBinaryContract>('', searchParams)
|
||||||
)
|
)
|
||||||
const { data: negativeChanges } = useQuery(
|
const { data: negativeChanges } = useQuery(
|
||||||
['prob-change-day-ascending', groupSlugs],
|
['prob-change-day-ascending', groupSlugs, bettorId],
|
||||||
() => probChangeAscendingIndex.search<CPMMBinaryContract>('', searchParams)
|
() => probChangeAscendingIndex.search<CPMMBinaryContract>('', searchParams)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user