about summary refs log tree commit diff
path: root/src/view/com/post-thread/PostThreadFollowBtn.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2024-03-15 12:11:34 +0000
committerSamuel Newman <mozzius@protonmail.com>2024-03-15 12:11:34 +0000
commitf71ec52517fb32d0f3dd1a1a8aa1da1949a752d5 (patch)
tree3c47bf7e5252ac179add92c5b19d3635a0bd3f49 /src/view/com/post-thread/PostThreadFollowBtn.tsx
parent8316f97e274504c3fc10dc22017ecbf958727c22 (diff)
parent4f8381678da505737a96b7420c0f1ea8329f3672 (diff)
downloadvoidsky-f71ec52517fb32d0f3dd1a1a8aa1da1949a752d5.tar.zst
Merge remote-tracking branch 'origin/main' into samuel/alf-login
Diffstat (limited to 'src/view/com/post-thread/PostThreadFollowBtn.tsx')
-rw-r--r--src/view/com/post-thread/PostThreadFollowBtn.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/view/com/post-thread/PostThreadFollowBtn.tsx b/src/view/com/post-thread/PostThreadFollowBtn.tsx
index e5b747cc9..45c3771f5 100644
--- a/src/view/com/post-thread/PostThreadFollowBtn.tsx
+++ b/src/view/com/post-thread/PostThreadFollowBtn.tsx
@@ -42,7 +42,10 @@ function PostThreadFollowBtnLoaded({
   const {isTabletOrDesktop} = useWebMediaQueries()
   const profile: Shadow<AppBskyActorDefs.ProfileViewBasic> =
     useProfileShadow(profileUnshadowed)
-  const [queueFollow, queueUnfollow] = useProfileFollowMutationQueue(profile)
+  const [queueFollow, queueUnfollow] = useProfileFollowMutationQueue(
+    profile,
+    'PostThreadItem',
+  )
   const requireAuth = useRequireAuth()
 
   const isFollowing = !!profile.viewer?.following