Overview
Returns a function that unfollows a target user by their user ID. The current user must be authenticated. This is the simpler alternative touseUnfollowByFollowId when you don’t have the follow record ID.
Usage Example
Parameters
The hook returns a function. That function accepts:Returns
The function returnsPromise<void>.
Related
- useFollowUser — follow a user
- useUnfollowByFollowId — unfollow by follow record ID

