mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Fix old attribute reference
This commit is contained in:
parent
ad3558d6ef
commit
0e74d69aed
1 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ const images = getVideoImages( video )
|
|||
---
|
||||
<picture>
|
||||
|
||||
{ Object.entries( images.srcset ).map( ([ key, source ]) => (
|
||||
{ Object.entries( images.sources ).map( ([ key, source ]) => (
|
||||
<source
|
||||
sizes={ source.sizes }
|
||||
data-srcset={ source.srcset }
|
||||
|
|
@ -17,7 +17,7 @@ const images = getVideoImages( video )
|
|||
) ) }
|
||||
|
||||
<img
|
||||
data-src={ images.srcset }
|
||||
data-src={ images.imgSrc }
|
||||
alt={ video.name }
|
||||
class="absolute inset-0 h-full w-full object-cover lazyload"
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue