Skip to content

Commit 3e50084

Browse files
committed
Address PR review
1 parent a18b767 commit 3e50084

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/docImage/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,11 @@ export default function DocImage({
122122
<ImageLightbox
123123
src={finalSrc}
124124
imgPath={imgPath}
125+
{...props}
125126
width={width}
126127
height={height}
127128
isManualDimensions={isManual}
128129
alt={props.alt ?? ''}
129-
{...props}
130130
/>
131131
);
132132
}

src/components/imageLightbox/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,13 @@ export function ImageLightbox({
117117
return (
118118
<Image
119119
src={renderedSrc}
120-
width={dimensions.width}
121-
height={dimensions.height}
122120
style={imageStyle}
123121
className={imageClassName}
124122
alt={alt}
125123
priority={!isInline}
126124
{...imageCompatibleProps}
125+
width={dimensions.width}
126+
height={dimensions.height}
127127
/>
128128
);
129129
}

0 commit comments

Comments
 (0)