From 3162e26919918e2c8c3e7f5136f57a718f601320 Mon Sep 17 00:00:00 2001 From: Damla Koksal Date: Sun, 29 Nov 2020 20:43:22 +0300 Subject: [PATCH] fix: image reload fix --- components/image-box/image-box.component.jsx | 1 - pages/index.js | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/components/image-box/image-box.component.jsx b/components/image-box/image-box.component.jsx index 47fc6f4..e31c57a 100644 --- a/components/image-box/image-box.component.jsx +++ b/components/image-box/image-box.component.jsx @@ -23,7 +23,6 @@ export default function ImageBox({ layout="fill" objectFit={objectFit} priority={priority ? true : false} - loading={eager ? "eager" : "lazy"} /> ); diff --git a/pages/index.js b/pages/index.js index 06847a9..9277ae2 100644 --- a/pages/index.js +++ b/pages/index.js @@ -55,7 +55,6 @@ export default function Anasayfa() { src="/assets/images/section-1.jpg" alt="Picture of the fabric" objectFit={"cover"} - eager priority /> @@ -66,7 +65,6 @@ export default function Anasayfa() { alt="Picture of yarns" objectFit={"fill"} wider - eager priority />