Skip to content

Commit

Permalink
[Hotfix] 주요 정보 제거 (#44)
Browse files Browse the repository at this point in the history
* [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 제거
  • Loading branch information
jpark0506 authored Aug 22, 2024
1 parent e4f61ba commit 3712aef
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions src/main/components/search/search.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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); // 더 이상 데이터가 없으면 중지 상태로 설정
Expand Down Expand Up @@ -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;
}
}
Expand Down
1 change: 0 additions & 1 deletion src/promotion/promotionmain.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3712aef

Please sign in to comment.