For example: I have clicked on the 3rd star of the rating component but when I click on the 3rd star again, the rating component is removing all of the previous stars, i.e., it's showing 0 stars. How to achieve this: if I click on the 3rd star the second time, it should only remove the 3rd star and show me 2 stars and not 0 stars.