Skip to main content

hooks/useSCFetchIncubator

Functions

useSCFetchIncubator()

useSCFetchIncubator(object): object

info

This custom hook is used to fetch an incubator object.

Parameters

ParameterTypeDescription
objectobject*
object.cacheStrategy?CacheStrategies
object.id?number*
object.incubator?SCIncubatorType*

Returns

object

MemberType
errorstring
scIncubatorSCIncubatorType
setSCIncubatorDispatch<SetStateAction<SCIncubatorType>>

Source

packages/react-core/src/hooks/useSCFetchIncubator.ts:20