Refactor RenewButton
Closed this issue · 0 comments
Lenni009 commented
The RenewButton
component should be made dumb.
Requirements:
- Takes a userobject -> contains base name and user name
- Should not contain any internal state whether someone was renewed or not -> renew whenever it is clicked