From 1b4d7f65ee08a56ca6cc57bfc6336ca3ccad3a21 Mon Sep 17 00:00:00 2001
From: trisusilo48 <tri.susilo@altama.co.id>
Date: Tue, 3 Dec 2024 14:42:36 +0700
Subject: update performance desktop

---
 src/components/ui/HeroBannerSecondary.jsx | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

(limited to 'src/components/ui/HeroBannerSecondary.jsx')

diff --git a/src/components/ui/HeroBannerSecondary.jsx b/src/components/ui/HeroBannerSecondary.jsx
index 6074c9a6..0daf9c61 100644
--- a/src/components/ui/HeroBannerSecondary.jsx
+++ b/src/components/ui/HeroBannerSecondary.jsx
@@ -1,10 +1,8 @@
 import Link from '@/core/components/elements/Link/Link';
 import { getRandomInt } from '@/utils/getRandomInt';
 import Image from 'next/image';
-import { useMemo, useEffect, useState } from 'react';
-import { useQuery } from 'react-query';
+import { useEffect, useMemo, useState } from 'react';
 import { HeroBannerSkeleton } from '../skeleton/BannerSkeleton';
-import { bannerApi } from '@/api/bannerApi';
 
 const HeroBannerSecondary = () => {
   const [heroBannerSecondary, setHeroBannerSecondary] = useState([]);
@@ -45,7 +43,7 @@ const HeroBannerSecondary = () => {
           height={1024}
           alt={heroBannerSecondary[randomIndex]?.name}
           className='object-cover object-center h-full'
-          loading='lazy'
+          loading='eager'
           placeholder='blur'
           blurDataURL='/images/indoteknik-placeholder.png'
           sizes='(max-width: 768px) 100vw, 50vw'
-- 
cgit v1.2.3

