diff --git a/packages/gatsby-plugin-image/src/components/layout-wrapper.tsx b/packages/gatsby-plugin-image/src/components/layout-wrapper.tsx index 6c0d4973ec9c3..b0155f95f6199 100644 --- a/packages/gatsby-plugin-image/src/components/layout-wrapper.tsx +++ b/packages/gatsby-plugin-image/src/components/layout-wrapper.tsx @@ -47,7 +47,7 @@ export function getSizer( width: number, height: number ): string { - let sizer: string | null = null + let sizer = `` if (layout === `fullWidth`) { sizer = `