Skip to main content

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

ParameterType
user?SCUserType

Returns

object | object

Source

packages/react-core/src/hooks/useSCFollowedManager.ts:32