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