From 5103419bdb24a050f16e6917666aa8a6028847d7 Mon Sep 17 00:00:00 2001 From: Park Sumin Date: Mon, 15 Jul 2024 04:22:37 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20Lint=EC=98=A4=EB=A5=98=20=ED=95=B4?= =?UTF-8?q?=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Lander/AllActivities.tsx | 2 +- components/Lander/BestActivities.tsx | 8 +++++--- components/Lander/BestActivities.type.ts | 9 +++++---- components/Lander/Main.tsx | 13 +++++++------ components/Lander/Main.type.ts | 3 ++- components/PriceFilterBtn/PriceFilterBtn.tsx | 5 +++-- 6 files changed, 23 insertions(+), 17 deletions(-) diff --git a/components/Lander/AllActivities.tsx b/components/Lander/AllActivities.tsx index 3c68177..f966412 100644 --- a/components/Lander/AllActivities.tsx +++ b/components/Lander/AllActivities.tsx @@ -56,7 +56,7 @@ function AllActivity({ {title}
- ₩ {price} {' '} + ₩{price}{' '} / 인 diff --git a/components/Lander/BestActivities.tsx b/components/Lander/BestActivities.tsx index 6760192..2026e4f 100644 --- a/components/Lander/BestActivities.tsx +++ b/components/Lander/BestActivities.tsx @@ -28,7 +28,8 @@ function BestActivity({ }; return ( -
No activities found
)} - {bestActivitiesDataNotPc?.activities && bestActivitiesDataNotPc.activities.length > 0 ? ( + {bestActivitiesDataNotPc?.activities && + bestActivitiesDataNotPc.activities.length > 0 ? (
{bestActivitiesDataNotPc.activities.map((item: ActivityDetail) => ( getActivityList(params), }); - if(isLoading) { - return () + if (isLoading) { + return ; } return ( -
diff --git a/components/Lander/Main.type.ts b/components/Lander/Main.type.ts index 3d7c8c3..c456a9b 100644 --- a/components/Lander/Main.type.ts +++ b/components/Lander/Main.type.ts @@ -3,4 +3,5 @@ export interface mainPageStateProps { itemsPerPage: number; selectedKategorie: string; selectedSorted: string; -} \ No newline at end of file + sortedName: string; +} diff --git a/components/PriceFilterBtn/PriceFilterBtn.tsx b/components/PriceFilterBtn/PriceFilterBtn.tsx index e89543f..ab486a1 100644 --- a/components/PriceFilterBtn/PriceFilterBtn.tsx +++ b/components/PriceFilterBtn/PriceFilterBtn.tsx @@ -26,7 +26,6 @@ export default function PriceFilterBtn() { sortedName: sortedName, })); setShowMenuList(false); - console.log(selectedPriceSorted); }; return ( @@ -68,7 +67,9 @@ export default function PriceFilterBtn() {