File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments