Run prettier on Link.tsx

This commit is contained in:
Timothy 2024-07-10 21:34:54 +08:00 committed by GitHub
parent bbe62ea0b2
commit c344b157f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,7 +15,9 @@ const CustomLink = ({ href, ...rest }: LinkProps & AnchorHTMLAttributes<HTMLAnch
return <a className="break-words" href={href} {...rest} />
}
return <a className="break-words" target="_blank" rel="noopener noreferrer" href={href} {...rest} />
return (
<a className="break-words" target="_blank" rel="noopener noreferrer" href={href} {...rest} />
)
}
export default CustomLink