Overview
Returns a function that declines a pending incoming connection request. After declining, the connection status from the current user’s perspective becomes"declined-received". The current user must be authenticated and must be the recipient.
Usage Example
Parameters
The hook returns a function. That function accepts:Returns
Related
- useAcceptConnection — accept instead of decline
- useFetchReceivedPendingConnections — list pending requests

