From f542de84a5cf5c609239fa718bef461beb333071 Mon Sep 17 00:00:00 2001 From: jiohjung98 Date: Tue, 11 Jun 2024 15:17:51 +0900 Subject: [PATCH 1/2] fix: image loading lazy --- src/components/map/BranchInfo.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/map/BranchInfo.tsx b/src/components/map/BranchInfo.tsx index 25918b3..417445f 100644 --- a/src/components/map/BranchInfo.tsx +++ b/src/components/map/BranchInfo.tsx @@ -185,6 +185,7 @@ const BranchInfo: React.FC = () => { width={500} height={246} className="h-[246px] object-cover" + loading="lazy" />
{currentSlide} / {totalSlides} @@ -197,6 +198,7 @@ const BranchInfo: React.FC = () => { width={500} height={246} className="h-[246px] object-cover" + loading="lazy" />
{currentSlide} / {totalSlides} From f8ebebb6d152e120b83c38234f2a9b8c90a29619 Mon Sep 17 00:00:00 2001 From: jiohjung98 Date: Tue, 11 Jun 2024 15:46:21 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=EC=B6=94=EC=B2=9C=20api=20=EA=B8=B0?= =?UTF-8?q?=EC=A1=B4=20=EC=98=A4=ED=94=BC=EC=8A=A4=20=EB=AF=B8=ED=8C=85?= =?UTF-8?q?=EB=A3=B8=20=EC=97=86=EC=9D=84=20=EB=95=8C=EB=A7=8C=20=ED=98=B8?= =?UTF-8?q?=EC=B6=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/reservation/meetingRoom/MeetingRoomIndex.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/reservation/meetingRoom/MeetingRoomIndex.tsx b/src/components/reservation/meetingRoom/MeetingRoomIndex.tsx index a7a29f7..822788f 100644 --- a/src/components/reservation/meetingRoom/MeetingRoomIndex.tsx +++ b/src/components/reservation/meetingRoom/MeetingRoomIndex.tsx @@ -371,7 +371,7 @@ const handleNear2Office = async () => { fetchBranchesByDistance(currentBranch!.branchId, params); } // eslint-disable-next-line react-hooks/exhaustive-deps - }, [meetingRooms, params]); + }, [meetingRooms]); return (