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