Skip to content

Commit 0c25a19

Browse files
committed
Add width height to image of aboutus component
Bug: CMS-47074
1 parent 129f5fc commit 0c25a19

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/nextjs-template/src/components/AboutUs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export default function AboutUs({ opti }: AboutUsProps) {
3838
<section className="about-us">
3939
{opti?.image?.url?.default && (
4040
<div className="about-us-image">
41-
<Image src={src(opti.image.url.default)} alt="" fill={true}/>
41+
<Image src={src(opti.image.url.default)} alt="" width={500} height={500}/>
4242
</div>
4343
)}
4444
<h2>{opti.heading}</h2>

0 commit comments

Comments
 (0)