Skip to main content

hooks/useSCFetchIncubator

Functions

useSCFetchIncubator()

useSCFetchIncubator(object): object

info

This custom hook is used to fetch an incubator object.

Parameters

ParameterTypeDescription
object{ cacheStrategy: CacheStrategies; id: number; incubator: SCIncubatorType; }*
object.cacheStrategy?CacheStrategies
object.id?number*
object.incubator?SCIncubatorType*

Returns

object

NameType
errorstring
scIncubatorSCIncubatorType
setSCIncubatorDispatch<SetStateAction<SCIncubatorType>>