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