as part of a project i have to filter list of the categorized cards. that\'s why i have made a test in codesandbox
problem is that when I click on the category boxes