Skip to content

Commit

Permalink
more datacy added
Browse files Browse the repository at this point in the history
  • Loading branch information
ZupaFly committed Nov 30, 2024
1 parent b4d0052 commit e1f9607
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const Footer: React.FC<FooterProps> = ({
className={classNames('filter__link', {
selected: filter === filterType,
})}
data-cy={`FilterLink${filterType.toUpperCase()}`}
onClick={() => onFilterChange(filterType)}
>
{filterType.charAt(0).toUpperCase() + filterType.slice(1)}
Expand Down

0 comments on commit e1f9607

Please sign in to comment.