Skip to main content

hooks/useSCFetchUserBlockedBy

Functions

useSCFetchUserBlockedBy()

useSCFetchUserBlockedBy(object): object

info

This custom hook is used to fetch if a user is blocked by another user.

Parameters

ParameterTypeDescription
objectobject*
object.blockedByUser?boolean*
object.sync?boolean
object.userSCUserType*

Returns

object

MemberType
blockedByboolean
errorstring
loadingboolean

Source

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