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/components | |
parent | 400c4322833d9cd4a6fb1e322c9ba844d85eff10 (diff) | |
download | voidsky-3bd14371330abf902690dff9b3f0f2036ef472e5.tar.zst |
[Statsig] Remove client downsampling (#6153)
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/ProfileCard.tsx | 4 | ||||
-rw-r--r-- | src/components/hooks/useFollowMethods.ts | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/components/ProfileCard.tsx b/src/components/ProfileCard.tsx index 50b34ba99..668bd0f3c 100644 --- a/src/components/ProfileCard.tsx +++ b/src/components/ProfileCard.tsx @@ -283,8 +283,8 @@ export function DescriptionPlaceholder({ export type FollowButtonProps = { profile: AppBskyActorDefs.ProfileViewBasic moderationOpts: ModerationOpts - logContext: LogEvents['profile:follow:sampled']['logContext'] & - LogEvents['profile:unfollow:sampled']['logContext'] + logContext: LogEvents['profile:follow']['logContext'] & + LogEvents['profile:unfollow']['logContext'] } & Partial<ButtonProps> export function FollowButton(props: FollowButtonProps) { diff --git a/src/components/hooks/useFollowMethods.ts b/src/components/hooks/useFollowMethods.ts index 31a1e43da..d67c3690f 100644 --- a/src/components/hooks/useFollowMethods.ts +++ b/src/components/hooks/useFollowMethods.ts @@ -15,8 +15,8 @@ export function useFollowMethods({ logContext, }: { profile: Shadow<AppBskyActorDefs.ProfileViewBasic> - logContext: LogEvents['profile:follow:sampled']['logContext'] & - LogEvents['profile:unfollow:sampled']['logContext'] + logContext: LogEvents['profile:follow']['logContext'] & + LogEvents['profile:unfollow']['logContext'] }) { const {_} = useLingui() const requireAuth = useRequireAuth() |