mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-21 07:01:19 -04:00
fix props with forwarded ref
This commit is contained in:
@@ -51,7 +51,16 @@ export type SelfieProps = Omit<ComponentProps<typeof Link>, "href">;
|
||||
const Selfie = ({ ...rest }: SelfieProps) => {
|
||||
return (
|
||||
<SelfieLink href="/" rel="author" title={authorName} underline={false} {...rest}>
|
||||
<CircleImage src={selfieJpg} alt={`Photo of ${authorName}`} width={70} height={70} quality={60} inline priority />
|
||||
<CircleImage
|
||||
src={selfieJpg}
|
||||
alt={`Photo of ${authorName}`}
|
||||
width={70}
|
||||
height={70}
|
||||
quality={60}
|
||||
placeholder="empty"
|
||||
inline
|
||||
priority
|
||||
/>
|
||||
<Name>{authorName}</Name>
|
||||
</SelfieLink>
|
||||
);
|
||||
|
Reference in New Issue
Block a user