summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Princesseuh <Princesseuh@users.noreply.github.com> 2023-10-11 15:56:21 +0000
committerGravatar astrobot-houston <fred+astrobot@astro.build> 2023-10-11 15:56:21 +0000
commita964a141728e3639e11e930628ceef8de3bb75ca (patch)
treec049a4c60805140db57dc8862ad42e5e5995a3d5
parentb2ae9ee0c42b11ffc1d3f070d1d5ac881aef84ed (diff)
downloadastro-a964a141728e3639e11e930628ceef8de3bb75ca.tar.gz
astro-a964a141728e3639e11e930628ceef8de3bb75ca.tar.zst
astro-a964a141728e3639e11e930628ceef8de3bb75ca.zip
[ci] format
-rw-r--r--packages/astro/components/Picture.astro6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/astro/components/Picture.astro b/packages/astro/components/Picture.astro
index 5ea2516d6..00907f9d3 100644
--- a/packages/astro/components/Picture.astro
+++ b/packages/astro/components/Picture.astro
@@ -48,8 +48,10 @@ if (fallbackImage.srcSet.values.length > 0) {
{
Object.entries(optimizedImages).map(([_, image]) => (
<source
- srcset={`${image.src}${image.srcSet.values.length > 0 ? ' , ' + image.srcSet.attribute : ''}`}
- type={"image/" + image.options.format}
+ srcset={`${image.src}${
+ image.srcSet.values.length > 0 ? ' , ' + image.srcSet.attribute : ''
+ }`}
+ type={'image/' + image.options.format}
/>
))
}