Skip to main content

hooks/useSCConnectionsManager

Functions

useSCConnectionsManager()

useSCConnectionsManager(user?): object | object

info

This custom hook is used to manage to manage friends.

How to use it:

Follow these steps:

1. const scUserContext: SCUserContextType = useSCUser();
2. const scConnectionsManager: SCConnectionsManagerType = scUserContext.manager.connections;
3. scConnectionsManager.status(user)

Parameters

ParameterType
user?SCUserType

Returns

object | object

Source

packages/react-core/src/hooks/useSCConnectionsManager.ts:30