Skip to content

Commit

Permalink
remove redundant className
Browse files Browse the repository at this point in the history
  • Loading branch information
rebeccahongsf committed May 2, 2024
1 parent a7981e0 commit e955d15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/elements/link.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const DrupalLink = ({href, children, ...props}: Props) => {
}

return (
<Link href={href} className={props.className} {...props}>
<Link href={href} {...props}>
{children}
{href.startsWith("mailto") &&
<EnvelopeIcon width={20} className="ml-4 inline-block"/>
Expand Down

0 comments on commit e955d15

Please sign in to comment.