From 3712aefafc84d7562f90cc845432e1a2f453a34f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?JunhyeokPark=28=EB=B0=95=EC=A4=80=ED=98=81=29?= Date: Thu, 22 Aug 2024 14:50:09 +0900 Subject: [PATCH] =?UTF-8?q?[Hotfix]=20=EC=A3=BC=EC=9A=94=20=EC=A0=95?= =?UTF-8?q?=EB=B3=B4=20=EC=A0=9C=EA=B1=B0=20(#44)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [Bug] Temporary Solution with Promotion Like * Refac/v2 V2 API 적용 (#41) * [Refac] V2 Ticket API 적용, Main 화면 API * [refac] v2 API 적용 완료 * [Hotix] Dependency 충돌 * [Hotix] build시 release로 변경 * [Hotix] build시 release로 변경 * [Hotix] build시 release로 변경 * [Hotix] sentry org 변경 * [Hotix] sentry 임시 비활성화 * [Hotfix] console.log 제거 --- src/main/components/search/search.tsx | 3 --- src/promotion/promotionmain.tsx | 1 - 2 files changed, 4 deletions(-) diff --git a/src/main/components/search/search.tsx b/src/main/components/search/search.tsx index bed0e65..9848cbc 100644 --- a/src/main/components/search/search.tsx +++ b/src/main/components/search/search.tsx @@ -33,8 +33,6 @@ const Search = (props: Props) => { await axiosAPI.get(`/api/v2/promotions/search?currentPage=${page}&keyword=${encodeURIComponent(query)}`) : await axiosSemiSecureAPI.get(`/api/v2/promotions/search/auth?currentPage=${page}&keyword=${encodeURIComponent(query)}`) const result = res.data.result.promotionList; - - console.log(result); if (result.length === 0) { setStop(true); // 더 이상 데이터가 없으면 중지 상태로 설정 @@ -111,7 +109,6 @@ const Search = (props: Props) => { const responseLikeStatus = await axiosSemiSecureAPI.get(`/api/likes/promotion/${id}`); promotionLike = responseLikeStatus.data.isSuccess ? responseLikeStatus.data.result : false; } catch (error) { - console.log(error) promotionLike = false; } } diff --git a/src/promotion/promotionmain.tsx b/src/promotion/promotionmain.tsx index df07642..4991264 100644 --- a/src/promotion/promotionmain.tsx +++ b/src/promotion/promotionmain.tsx @@ -30,7 +30,6 @@ const PromotionView = (props: Props) => { await axiosSemiSecureAPI.get(`/api/v2/promotions/${id}/auth`) : await axiosAPI.get(`/api/v2/promotions/${id}`); - console.log(response); if (response.data.isSuccess === true) { const result = response.data.result; setResult(result);