Skip to main content

hooks/useSCFetchTag

Functions

useSCFetchTag()

useSCFetchTag(object): object

info

This custom hook is used to fetch a tag object.

Parameters

ParameterTypeDescription
object{ id: number; tag: SCTagType; }*
object.id?number*
object.tag?SCTagType

Returns

object

NameType
errorstring
scTagSCTagType
setSCTagDispatch<SetStateAction<SCTagType>>