Module: hooks/useSCFetchTag
Functions
useSCFetchTag
▸ useSCFetchTag(object
): Object
info
This custom hook is used to fetch a tag object.
Parameters
Name | Type |
---|---|
object | Object |
object.id? | number |
object.tag? | SCTagType |
Returns
Object
Name | Type |
---|---|
error | string |
scTag | SCTagType |
setSCTag | Dispatch <SetStateAction <SCTagType >> |