From c5484add6a450e29ab9a23b2ddc8d635a695770a Mon Sep 17 00:00:00 2001 From: mandar1jn Date: Mon, 10 Oct 2022 17:06:55 +0200 Subject: [PATCH] Corrected the getImage() paramaters (#5040) --- packages/integrations/image/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/integrations/image/README.md b/packages/integrations/image/README.md index 43f9358892..e573311248 100644 --- a/packages/integrations/image/README.md +++ b/packages/integrations/image/README.md @@ -397,7 +397,7 @@ This can be helpful if you need to add preload links to a page's ``. --- import { getImage } from '@astrojs/image'; -const { src } = await getImage('../assets/hero.png'); +const { src } = await getImage({src: '../assets/hero.png'}); ---