Refactor card selection in comments index component.
Replace the duplicated code with a more generic solution. Though it's now more complex, it'll allow us to add/remove/rename cards in the future more easily.
Loading
Please register or sign in to comment