Skip to content

Commit

Permalink
fix: image classname should render (#1217)
Browse files Browse the repository at this point in the history
  • Loading branch information
abvthecity authored Jul 30, 2024
1 parent ef42bc2 commit 086a07b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/app/src/mdx/components/html/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ function isImgElement(element: ReactElement): element is ReactElement<ImgProps>
return element.type === Image;
}

export const Image: FC<ImgProps> = ({ className, src, width: w, height: h, noZoom, enableZoom, style, ...rest }) => {
export const Image: FC<ImgProps> = ({ src, width: w, height: h, noZoom, enableZoom, style, ...rest }) => {
const files = useAtomValue(FILES_ATOM);
const { "no-image-zoom": noImageZoom } = useFrontmatter();

Expand Down

0 comments on commit 086a07b

Please sign in to comment.