diff options
author | 2023-10-11 15:56:21 +0000 | |
---|---|---|
committer | 2023-10-11 15:56:21 +0000 | |
commit | a964a141728e3639e11e930628ceef8de3bb75ca (patch) | |
tree | c049a4c60805140db57dc8862ad42e5e5995a3d5 | |
parent | b2ae9ee0c42b11ffc1d3f070d1d5ac881aef84ed (diff) | |
download | astro-a964a141728e3639e11e930628ceef8de3bb75ca.tar.gz astro-a964a141728e3639e11e930628ceef8de3bb75ca.tar.zst astro-a964a141728e3639e11e930628ceef8de3bb75ca.zip |
[ci] format
-rw-r--r-- | packages/astro/components/Picture.astro | 6 |
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} /> )) } |