about summary refs log tree commit diff
path: root/src/view/com/profile/ProfileCard.tsx
diff options
context:
space:
mode:
authordan <dan.abramov@gmail.com>2024-03-13 22:31:51 +0000
committerGitHub <noreply@github.com>2024-03-13 22:31:51 +0000
commit7eaa573b57c6fb3a37abe105d4a8de10e9b9f893 (patch)
treefebe1e8a6bdad2d071d46af58de32b0b515092e9 /src/view/com/profile/ProfileCard.tsx
parentdb79c918b2e929c1317cbb91918eb00252fdc136 (diff)
downloadvoidsky-7eaa573b57c6fb3a37abe105d4a8de10e9b9f893.tar.zst
[Statsig] Track likes, reposts, follows (#3195)
* [Statsig] Track likes

* Move tracking to intent

* Track repost/unrepost

* Track profile follows/unfollows

* Less copy paste

* Reorder
Diffstat (limited to 'src/view/com/profile/ProfileCard.tsx')
-rw-r--r--src/view/com/profile/ProfileCard.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/view/com/profile/ProfileCard.tsx b/src/view/com/profile/ProfileCard.tsx
index 266adc51d..019e6c10e 100644
--- a/src/view/com/profile/ProfileCard.tsx
+++ b/src/view/com/profile/ProfileCard.tsx
@@ -230,7 +230,9 @@ export function ProfileCardWithFollowBtn({
       renderButton={
         isMe
           ? undefined
-          : profileShadow => <FollowButton profile={profileShadow} />
+          : profileShadow => (
+              <FollowButton profile={profileShadow} logContext="ProfileCard" />
+            )
       }
     />
   )