Module: hooks/useSCFetchIncubator
Functions
useSCFetchIncubator
▸ useSCFetchIncubator(object
): Object
info
This custom hook is used to fetch an incubator object.
Parameters
Name | Type |
---|---|
object | Object |
object.id? | number |
object.incubator? | SCIncubatorType |
Returns
Object
Name | Type |
---|---|
error | string |
scIncubator | SCIncubatorType |
setSCIncubator | Dispatch <SetStateAction <SCIncubatorType >> |