You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clicking on the "decrement upvote" button results in the upvote count going below zero, which is not intended behavior.
To Reproduce
Steps to reproduce the behavior:
Go to 'Home'
Click on 'decrement upvote'
See error
This is also happening in the post details component .
Go to 'Home'
Click on 'Any post'
Click on 'Decrement upvote'
See error
Expected behavior
The upvote count should decrement by one when the "decrement upvote" button is clicked, but it should not go below zero. The count should stop at zero.
Screenshots
Screen.Recording.2024-01-01.at.3.14.40.PM.mov
Desktop (please complete the following information):
OS: [iOS]
Browser [ chrome, safari]
Version [Chrome 118 on macOS (Ventura)]
The text was updated successfully, but these errors were encountered:
Describe the bug
Clicking on the "decrement upvote" button results in the upvote count going below zero, which is not intended behavior.
To Reproduce
Steps to reproduce the behavior:
This is also happening in the post details component .
Expected behavior
The upvote count should decrement by one when the "decrement upvote" button is clicked, but it should not go below zero. The count should stop at zero.
Screenshots
Screen.Recording.2024-01-01.at.3.14.40.PM.mov
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: