Cleanup spaces
This commit is contained in:
parent
8d75642e6d
commit
970ffd1f1d
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ export default (props: Props) => {
|
|||
|
||||
return (
|
||||
<>
|
||||
<picture >
|
||||
<picture>
|
||||
<source srcset={imageSrc().replace(/\.webp$/, '.avif')} type="image/avif" />
|
||||
<source srcset={imageSrc()} type="image/webp" />
|
||||
<img src={imageSrc()} width={props.size} height="auto" decoding="async" loading="lazy" alt={props.alt} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue