hooks/useSCFetchUserBlockedBy
Functions
useSCFetchUserBlockedBy()
useSCFetchUserBlockedBy(
object
):object
info
This custom hook is used to fetch if a user is blocked by another user.
Parameters
Parameter | Type | Description |
---|---|---|
object | object | * |
object.blockedByUser ? | boolean | * |
object.sync ? | boolean | |
object.user | SCUserType | * |
Returns
object
Member | Type |
---|---|
blockedBy | boolean |
error | string |
loading | boolean |