Skip to content

Commit

Permalink
fix: image reload fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Damla Koksal committed Nov 29, 2020
1 parent 77a0af9 commit 3162e26
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion components/image-box/image-box.component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export default function ImageBox({
layout="fill"
objectFit={objectFit}
priority={priority ? true : false}
loading={eager ? "eager" : "lazy"}
/>
</div>
);
Expand Down
3 changes: 1 addition & 2 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ export default function Anasayfa() {
src="/assets/images/section-1.jpg"
alt="Picture of the fabric"
objectFit={"cover"}
eager
priority
/>
</Section>
Expand All @@ -66,7 +65,6 @@ export default function Anasayfa() {
alt="Picture of yarns"
objectFit={"fill"}
wider
eager
priority
/>
<Content
Expand Down Expand Up @@ -123,6 +121,7 @@ export default function Anasayfa() {
alt="Picture of yarns"
objectFit={"cover"}
wider
priority
/>
</Section>
<Divider />
Expand Down

0 comments on commit 3162e26

Please sign in to comment.