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
Parameter | Type |
---|---|
user ? | SCUserType |
Returns
object
| object