diff options
author | Hailey <me@haileyok.com> | 2024-11-15 11:40:43 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-15 11:40:43 -0800 |
commit | 3bd14371330abf902690dff9b3f0f2036ef472e5 (patch) | |
tree | 641df6c63773a7784d435add9f7ee80fd9bc97c9 /src/view/com/pager/Pager.tsx | |
parent | 400c4322833d9cd4a6fb1e322c9ba844d85eff10 (diff) | |
download | voidsky-3bd14371330abf902690dff9b3f0f2036ef472e5.tar.zst |
[Statsig] Remove client downsampling (#6153)
Diffstat (limited to 'src/view/com/pager/Pager.tsx')
-rw-r--r-- | src/view/com/pager/Pager.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/view/com/pager/Pager.tsx b/src/view/com/pager/Pager.tsx index 4d5da960c..aca3245a7 100644 --- a/src/view/com/pager/Pager.tsx +++ b/src/view/com/pager/Pager.tsx @@ -15,7 +15,7 @@ const AnimatedPagerView = Animated.createAnimatedComponent(PagerView) export interface PagerRef { setPage: ( index: number, - reason: LogEvents['home:feedDisplayed:sampled']['reason'], + reason: LogEvents['home:feedDisplayed']['reason'], ) => void } @@ -32,7 +32,7 @@ interface Props { onPageSelected?: (index: number) => void onPageSelecting?: ( index: number, - reason: LogEvents['home:feedDisplayed:sampled']['reason'], + reason: LogEvents['home:feedDisplayed']['reason'], ) => void onPageScrollStateChanged?: ( scrollState: 'idle' | 'dragging' | 'settling', @@ -61,7 +61,7 @@ export const Pager = forwardRef<PagerRef, React.PropsWithChildren<Props>>( React.useImperativeHandle(ref, () => ({ setPage: ( index: number, - reason: LogEvents['home:feedDisplayed:sampled']['reason'], + reason: LogEvents['home:feedDisplayed']['reason'], ) => { pagerView.current?.setPage(index) onPageSelecting?.(index, reason) |