hooks/useSCFetchCommentObject
Functions
useSCFetchCommentObject()
useSCFetchCommentObject(
object
):object
info
This custom hooks is used to fetch a comment.
Parameters
Parameter | Type | Description |
---|---|---|
object | object | * |
object.cacheStrategy ? | CacheStrategies | |
object.commentObject ? | SCCommentType | * |
object.id ? | number | * |
Returns
object
Member | Type |
---|---|
error | string |
obj | SCCommentType |
setObj | Dispatch <SetStateAction <SCCommentType >> |