0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

[ci] format

This commit is contained in:
Princesseuh 2023-10-11 15:56:21 +00:00 committed by astrobot-houston
parent b2ae9ee0c4
commit a964a14172

View file

@ -48,8 +48,10 @@ if (fallbackImage.srcSet.values.length > 0) {
{ {
Object.entries(optimizedImages).map(([_, image]) => ( Object.entries(optimizedImages).map(([_, image]) => (
<source <source
srcset={`${image.src}${image.srcSet.values.length > 0 ? ' , ' + image.srcSet.attribute : ''}`} srcset={`${image.src}${
type={"image/" + image.options.format} image.srcSet.values.length > 0 ? ' , ' + image.srcSet.attribute : ''
}`}
type={'image/' + image.options.format}
/> />
)) ))
} }