hooks/useSCSubscribedIncubatorsManager
Functions
useSCSubscribedIncubatorsManager()
useSCSubscribedIncubatorsManager(
user
?):object
|object
info
This custom hook is used to manage to manage subscribed incubators.
How to use it:
Follow these steps:
1. const scUserContext: SCUserContextType = useSCUser();
2. const scSubscribedIncubatorsManager: SCSubscribedIncubatorsManagerType = scUserContext.managers.incubators;
3. scSubscribedIncubatorsManager.isSubscribed(incubator)
Parameters
Parameter | Type |
---|---|
user ? | SCUserType |
Returns
object
| object
Source
packages/react-core/src/hooks/useSCSubscribedIncubatorsManager.ts:22