Module: hooks/useSCFetchCommentObject
Functions
useSCFetchCommentObject
▸ useSCFetchCommentObject(«destructured»
): Object
info
This custom hooks is used to fetch a comment.
Parameters
Name | Type |
---|---|
«destructured» | Object |
› cacheStrategy? | CacheStrategies |
› commentObject? | SCCommentType |
› id? | number |
Returns
Object
Name | Type |
---|---|
error | string |
obj | SCCommentType |
setObj | Dispatch <SetStateAction <SCCommentType >> |