From fc157cb2b3762749dc0a1a4ccd67fd45bcd6a361 Mon Sep 17 00:00:00 2001 From: radiomajula <114628365+radiomajula@users.noreply.github.com> Date: Wed, 6 Sep 2023 22:47:07 +0100 Subject: [PATCH] Access logo via `.src` to avoid `ImageMetadata` type issue While testing your changes locally, I encountered this issue: `Type 'ImageMetadata' is not assignable to type 'string'.ts` - Based on the Astro 3.0 changes, it seems that passing the src via `.src` is the intended way to use this now --- src/components/Header.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Header.astro b/src/components/Header.astro index 0aef3c132..3c006e4a8 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -21,7 +21,7 @@ const { activeNav } = Astro.props; { LOGO_IMAGE.enable ? (