From 0a29a0b9c38da959284fee39d42fc13ce7559d28 Mon Sep 17 00:00:00 2001 From: Martin Nabhan <7613182+martinnabhan@users.noreply.github.com> Date: Mon, 17 Apr 2023 16:04:43 +0900 Subject: [PATCH] Allow overriding imageParameters --- code/frameworks/nextjs/src/images/next-image-stub.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/frameworks/nextjs/src/images/next-image-stub.tsx b/code/frameworks/nextjs/src/images/next-image-stub.tsx index 9091d79e5d35..3fc92c7b29a6 100644 --- a/code/frameworks/nextjs/src/images/next-image-stub.tsx +++ b/code/frameworks/nextjs/src/images/next-image-stub.tsx @@ -42,7 +42,7 @@ Object.defineProperty(NextImage, 'default', { const imageParameters = React.useContext(ImageContext); return ( - + ); }, }); @@ -58,9 +58,9 @@ if (semver.satisfies(process.env.__NEXT_VERSION!, '^13.0.0')) { return ( ); }, @@ -78,9 +78,9 @@ if (semver.satisfies(process.env.__NEXT_VERSION!, '^12.2.0')) { return ( ); },