hooks/useSCFollowersManager
Functions
useSCFollowersManager()
useSCFollowersManager(
user
?):object
|object
info
This custom hook is used to manage followers users.
How to use it:
Follow these steps:
1. const scUserContext: SCUserContextType = useSCUser();
2. const scFollowersManager: SCFollowersManagerType = scUserContext.manager.followers;
3. scFollowersManager.isFollowers(user)
Parameters
Parameter | Type |
---|---|
user ? | SCUserType |
Returns
object
| object