Overview
Returns a function that accepts a pending incoming connection request. The current user must be authenticated and must be the recipient of the request.Usage Example
Parameters
The hook returns a function. That function accepts:The ID of the connection record to accept.
Returns
The connection record ID.
The updated status, e.g.
"connected".ISO timestamp when the request was accepted.
Related
- useDeclineConnection — decline instead of accept
- useFetchReceivedPendingConnections — list pending requests to accept

