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` && ( - - )}