useDownvoteEntity
Overview
TheuseDownvoteEntity hook provides a way to downvote an entity.
Usage Example
Parameters & Returns
Parameters
ThedownvoteEntity function returned by the hook accepts a single object with the following field:
The ID of the entity to be downvoted.
Returns
The function returns aPromise<Entity> representing the API response:
The updated entity after it is successfully downvoted.

