diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-03-15 12:11:34 +0000 |
---|---|---|
committer | Samuel Newman <mozzius@protonmail.com> | 2024-03-15 12:11:34 +0000 |
commit | f71ec52517fb32d0f3dd1a1a8aa1da1949a752d5 (patch) | |
tree | 3c47bf7e5252ac179add92c5b19d3635a0bd3f49 /src/view/com/auth/onboarding/RecommendedFollowsItem.tsx | |
parent | 8316f97e274504c3fc10dc22017ecbf958727c22 (diff) | |
parent | 4f8381678da505737a96b7420c0f1ea8329f3672 (diff) | |
download | voidsky-f71ec52517fb32d0f3dd1a1a8aa1da1949a752d5.tar.zst |
Merge remote-tracking branch 'origin/main' into samuel/alf-login
Diffstat (limited to 'src/view/com/auth/onboarding/RecommendedFollowsItem.tsx')
-rw-r--r-- | src/view/com/auth/onboarding/RecommendedFollowsItem.tsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/view/com/auth/onboarding/RecommendedFollowsItem.tsx b/src/view/com/auth/onboarding/RecommendedFollowsItem.tsx index 07001068c..5f81a4d65 100644 --- a/src/view/com/auth/onboarding/RecommendedFollowsItem.tsx +++ b/src/view/com/auth/onboarding/RecommendedFollowsItem.tsx @@ -56,7 +56,7 @@ export function RecommendedFollowsItem({ ) } -export function ProfileCard({ +function ProfileCard({ profile, onFollowStateChange, moderation, @@ -72,7 +72,10 @@ export function ProfileCard({ const pal = usePalette('default') const [addingMoreSuggestions, setAddingMoreSuggestions] = React.useState(false) - const [queueFollow, queueUnfollow] = useProfileFollowMutationQueue(profile) + const [queueFollow, queueUnfollow] = useProfileFollowMutationQueue( + profile, + 'RecommendedFollowsItem', + ) const onToggleFollow = React.useCallback(async () => { try { |