useRemoveEntityDownvote
Overview
TheuseRemoveEntityDownvote
hook provides a way to remove a previously cast downvote from an entity.
Usage Example
Parameters & Returns
Parameters
TheremoveEntityDownvote
function returned by the hook accepts a single object with the following field:
The ID of the entity whose downvote to remove.
Returns
The function returns aPromise<Entity>
representing the API response:
The updated entity after the downvote is successfully removed.