about summary refs log tree commit diff
path: root/src/components/hooks/useFollowMethods.ts
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-09-07 04:13:51 -0700
committerGitHub <noreply@github.com>2024-09-07 13:13:51 +0200
commitc8be9b78c6abb1ca98a2e4c9342e314b19d2cb7c (patch)
tree91b36de19a2e3def4fcb64aeec9cd2b8470ced78 /src/components/hooks/useFollowMethods.ts
parentadef9cff10eb8cbd5227c1fde0f94068fb6987f6 (diff)
downloadvoidsky-c8be9b78c6abb1ca98a2e4c9342e314b19d2cb7c.tar.zst
[Statsig] Add more events to downsample, increase downsample rate (#5198)
* add some events for sampling

* include downsample rate in metadata

* fix metadata logic

* uncomment debug
Diffstat (limited to 'src/components/hooks/useFollowMethods.ts')
-rw-r--r--src/components/hooks/useFollowMethods.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/hooks/useFollowMethods.ts b/src/components/hooks/useFollowMethods.ts
index d67c3690f..31a1e43da 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']['logContext'] &
-    LogEvents['profile:unfollow']['logContext']
+  logContext: LogEvents['profile:follow:sampled']['logContext'] &
+    LogEvents['profile:unfollow:sampled']['logContext']
 }) {
   const {_} = useLingui()
   const requireAuth = useRequireAuth()