Skip to main content

Module: hooks/useSCFetchIncubator

Functions

useSCFetchIncubator

useSCFetchIncubator(object): Object

info

This custom hook is used to fetch an incubator object.

Parameters

NameType
objectObject
object.id?number
object.incubator?SCIncubatorType

Returns

Object

NameType
errorstring
scIncubatorSCIncubatorType
setSCIncubatorDispatch<SetStateAction<SCIncubatorType>>

Defined in

hooks/useSCFetchIncubator.ts:15