Skip to content

Commit

Permalink
fix: hydration errors due to div inside of p
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity committed Feb 8, 2025
1 parent db9c464 commit 01f1108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fern-docs/ui/src/mdx/components/html/image.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export const Image = forwardRef<
}

return (
<Zoom zoomImg={{ src }} classDialog="custom-backdrop">
<Zoom zoomImg={{ src }} classDialog="custom-backdrop" wrapElement="span">
{fernImage}
</Zoom>
);
Expand Down

0 comments on commit 01f1108

Please sign in to comment.