Browse Source

Remove redundant title attr from image link. Closes #2621

pull/2632/head
Gabe Kangas 3 years ago
parent
commit
56d8f799ab
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
  1. 2
      web/components/ui/SocialLinks/SocialLinks.tsx

2
web/components/ui/SocialLinks/SocialLinks.tsx

@ -7,7 +7,6 @@ export type SocialLinksProps = { @@ -7,7 +7,6 @@ export type SocialLinksProps = {
links: SocialLink[];
};
// eslint-disable-next-line @typescript-eslint/no-unused-vars
export const SocialLinks: FC<SocialLinksProps> = ({ links }) => (
<div className={styles.links}>
{links.map(link => (
@ -22,7 +21,6 @@ export const SocialLinks: FC<SocialLinksProps> = ({ links }) => ( @@ -22,7 +21,6 @@ export const SocialLinks: FC<SocialLinksProps> = ({ links }) => (
<Image
src={link.icon || '/img/platformlogos/default.svg'}
alt={link.platform}
title={link.platform}
className={styles.link}
width="30"
height="30"

Loading…
Cancel
Save