From 65fcbb9d3f22cc7d843882cec4b6359e94203d7a Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Thu, 27 Oct 2022 22:56:26 -0700 Subject: [PATCH] Use Next Image component for social links --- web/components/ui/SocialLinks/SocialLinks.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/web/components/ui/SocialLinks/SocialLinks.tsx b/web/components/ui/SocialLinks/SocialLinks.tsx index 47df84247..728bb5f0e 100644 --- a/web/components/ui/SocialLinks/SocialLinks.tsx +++ b/web/components/ui/SocialLinks/SocialLinks.tsx @@ -1,3 +1,4 @@ +import Image from 'next/image'; import { FC } from 'react'; import { SocialLink } from '../../../interfaces/social-link.model'; import styles from './SocialLinks.module.scss'; @@ -17,11 +18,13 @@ export const SocialLinks: FC = ({ links }) => ( target="_blank" rel="noreferrer" > - {link.platform} ))}