From 87bdec0f1ac8de8062fe3c90997b278ff921a4aa Mon Sep 17 00:00:00 2001 From: Matt Kane Date: Wed, 13 Jan 2021 07:28:42 +0000 Subject: [PATCH] fix(gatsby-plugin-image): Remove preload tag (#28998) --- .../src/components/main-image.tsx | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/packages/gatsby-plugin-image/src/components/main-image.tsx b/packages/gatsby-plugin-image/src/components/main-image.tsx index cc6037b4b7a6e..dc40776873e3b 100644 --- a/packages/gatsby-plugin-image/src/components/main-image.tsx +++ b/packages/gatsby-plugin-image/src/components/main-image.tsx @@ -4,21 +4,9 @@ import { Picture, PictureProps } from "./picture" export type MainImageProps = PictureProps export const MainImage = forwardRef( - function MainImage({ ...props }, ref) { + function MainImage(props, ref) { return ( <> - {props.loading === `eager` && ( - - )}