Skip to main content

Module: hooks/useSCFetchTag

Functions

useSCFetchTag

useSCFetchTag(object): Object

info

This custom hook is used to fetch a tag object.

Parameters

NameType
objectObject
object.id?number
object.tag?SCTagType

Returns

Object

NameType
errorstring
scTagSCTagType
setSCTagDispatch<SetStateAction<SCTagType>>

Defined in

hooks/useSCFetchTag.ts:15