mirror of
https://github.com/vercel/commerce.git
synced 2025-05-15 22:16:58 +00:00
Add priority to images
This commit is contained in:
parent
0749022035
commit
536e1736e8
@ -78,6 +78,7 @@ export default function MarkerCardModal(props: {
|
||||
setIsTransitionComplited(true)
|
||||
}, 2500)
|
||||
}
|
||||
priority
|
||||
></Image>
|
||||
) : (
|
||||
<ImageMapper
|
||||
|
@ -24,6 +24,7 @@ export default function ImageCardContent(props: {
|
||||
onClick={() => openFullScreen('resource-image')}
|
||||
id='resource-image'
|
||||
alt=''
|
||||
priority
|
||||
src={props.resourcePath} />
|
||||
</Box>
|
||||
|
||||
|
@ -87,6 +87,7 @@ export default function ProductCardRoom(props: {
|
||||
layout={"fill"}
|
||||
alt={"Product Image"}
|
||||
objectFit={"contain"}
|
||||
priority
|
||||
/>
|
||||
</Box>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user