We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 90fc10e + 0166d62 commit c89d35bCopy full SHA for c89d35b
1 file changed
src/sections/General/Navigation/utility/image.js
@@ -6,7 +6,7 @@ const Image = ({ childImageSharp, extension, publicURL, alt, ...rest }) => {
6
if (!childImageSharp && extension === "svg") {
7
return (
8
<div className="old-gatsby-image-wrapper">
9
- <img src={publicURL} alt={alt} />
+ <img src={publicURL} {...rest} alt={alt} />
10
</div>
11
);
12
} else {
0 commit comments