diff --git a/src/components/Icon.tsx b/src/components/Icon.tsx index a8ca544..cad86ef 100644 --- a/src/components/Icon.tsx +++ b/src/components/Icon.tsx @@ -2,7 +2,6 @@ import { socials } from '@/components/data/Socials'; import Link from 'next/link'; import toast from 'react-hot-toast'; import copy from 'copy-to-clipboard'; -import FadeIn from 'react-fade-in'; type Icon = { children: any; @@ -24,35 +23,29 @@ const notify = () => { export const Icon = ({ children, reference, copyValue }: Icon) => { if (copyValue) { return ( - - social.ref === reference)?.ariaLabel - } - onClick={() => { - notify(), copy(reference); - }} - > - {children} - - + social.ref === reference)?.ariaLabel + } + onClick={() => { + notify(), copy(reference); + }} + > + {children} + ); } return ( - - social.ref === reference)?.ariaLabel - } - > - {children} - - + social.ref === reference)?.ariaLabel} + > + {children} + ); };