Ivan Asmer 4 years ago
parent
commit
7f9d236732
1 changed files with 1 additions and 1 deletions
  1. 1 1
      index.mjs

+ 1 - 1
index.mjs

@@ -636,7 +636,7 @@ const A = ({react:React, children, title}) =>{
 
 
 const Img = ({react:React, children, title}) =>{
 const Img = ({react:React, children, title}) =>{
     const _ = React.createElement.bind(React)
     const _ = React.createElement.bind(React)
-    return _("a", {alt: title, src: children})
+    return _("img", {alt: title, src: children})
 }
 }
 
 
 const defaultMapMDToComponents = {
 const defaultMapMDToComponents = {