From 3e168589d636e2c5b2597b8aedeb67681d47d465 Mon Sep 17 00:00:00 2001 From: Bjorn Lu Date: Thu, 9 May 2024 13:05:15 +0000 Subject: [PATCH] [ci] format --- packages/astro/components/Picture.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/astro/components/Picture.astro b/packages/astro/components/Picture.astro index 15d07de4d203..1b4f67e5d2e8 100644 --- a/packages/astro/components/Picture.astro +++ b/packages/astro/components/Picture.astro @@ -28,7 +28,7 @@ if (props.alt === undefined || props.alt === null) { } // Picture attribute inherit scoped styles from class and attributes -const scopedStyleClass = props.class?.match(/\bastro-\w{8}\b/)?.[0] +const scopedStyleClass = props.class?.match(/\bastro-\w{8}\b/)?.[0]; if (scopedStyleClass) { if (pictureAttributes.class) { pictureAttributes.class = `${pictureAttributes.class} ${scopedStyleClass}`;