Skip to main content

hooks/useSCFetchCommentObject

Functions

useSCFetchCommentObject()

useSCFetchCommentObject(object): object

info

This custom hooks is used to fetch a comment.

Parameters

ParameterTypeDescription
objectobject*
object.cacheStrategy?CacheStrategies
object.commentObject?SCCommentType*
object.id?number*

Returns

object

MemberType
errorstring
objSCCommentType
setObjDispatch<SetStateAction<SCCommentType>>

Source

packages/react-core/src/hooks/useSCFetchCommentObject.ts:18