Skip to content

Commit

Permalink
Adds keys
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonRomano committed Dec 20, 2024
1 parent 3fe3f7f commit 8e235da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/button-links/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function ButtonLinks({
>
{links.map(({ href, text, theme = "brand" }) => {
return (
<li>
<li key={text + href}>
<ButtonLink href={href} text={text} theme={theme} size="large" />
</li>
);
Expand Down
2 changes: 1 addition & 1 deletion src/components/card-links/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function CardLinks({ cards }: CardLinkProps) {
<ul className={s.cardLinks}>
{cards.map((cardLink) => {
return (
<li>
<li key={cardLink.title + cardLink.href}>
<Link href={cardLink.href} className={s.link}>
<H4 className={s.title}>{cardLink.title}</H4>
<P>{cardLink.description}</P>
Expand Down

0 comments on commit 8e235da

Please sign in to comment.