Cancels the current vote for a given submission.
Defaults to the provided submissionId in the hook.
Optional submissionId: stringRegisters a downvote for a given submission.
Defaults to the provided submissionId in the hook.
Optional submissionId: stringA boolean flag indicating whether the vote status has been fetched.
Represents the current user's vote value. Possible values are:
1 for an upvote,-1 for a downvote,0 for no vote.Registers an upvote for a given submission.
Defaults to the provided submissionId in the hook.
Optional submissionId: stringRepresents the total vote balance (sum of all votes) for the submission.
Generated using TypeDoc
The return type for the useVote hook.