We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c76c175 commit 6233382Copy full SHA for 6233382
packages/gatsby-plugin-image/src/gatsby-ssr.tsx
@@ -68,7 +68,6 @@ export function onRenderBody({ setHeadComponents }: RenderBodyArgs): void {
68
69
// if a main image does not have a ssr tag, we know it's not the first run anymore
70
if (typeof e.target.dataset["gatsbyImageSsr"] === 'undefined') {
71
- document.body.removeEventListener('load', gatsbyImageNativeLoader, true);
72
return;
73
}
74
0 commit comments