Skip to content

Commit

Permalink
fix: improve hero button attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
dy0gu committed Sep 14, 2024
1 parent b37e4cd commit 92e0cb8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,10 @@ function Hero({ letters, className }: HeroProps) {
>
{letters.map((letter, index) => (
// biome-ignore lint/a11y/useValidAriaProps: aria-description is a valid aria
// biome-ignore lint/suspicious/noArrayIndexKey: mapped object is static
<button
className="bg-transparent hover:text-zinc-400 duration-500 font-bold"
key={letter.aria}
type="button"
aria-description={letter.aria}
onClick={letter.onClick}
>
Expand Down

0 comments on commit 92e0cb8

Please sign in to comment.