Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaMachina committed Dec 19, 2024
1 parent 9b07831 commit fd8952b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/nextra/src/client/components/image-zoom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export const ImageZoom: FC<ImageProps> = props => {
const img = createElement(ComponentToUse, { ...props, ref: imgRef })

if (isInsideAnchor) {
// There is no need to add zoom for images inside anchor tags
return img
}

Expand Down

0 comments on commit fd8952b

Please sign in to comment.