hooks/useSCFetchIncubator
Functions
useSCFetchIncubator()
useSCFetchIncubator(
object
):object
info
This custom hook is used to fetch an incubator object.
Parameters
Parameter | Type | Description |
---|---|---|
object | object | * |
object.cacheStrategy ? | CacheStrategies | |
object.id ? | number | * |
object.incubator ? | SCIncubatorType | * |
Returns
object
Member | Type |
---|---|
error | string |
scIncubator | SCIncubatorType |
setSCIncubator | Dispatch <SetStateAction <SCIncubatorType >> |