Skip to content

Commit 51dd878

Browse files
authored
Merge pull request #79 from Duri-Salon/feat(salon)/statistics-page
[feat] 매출 통계 훅 구현, Income 페이지에 데이터 로드, 메인헤더 로그인 문구 변경
2 parents c280942 + 7c45a69 commit 51dd878

File tree

30 files changed

+393
-94
lines changed

30 files changed

+393
-94
lines changed

apps/duri/src/components/home/reservation/UpcomingReservation.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ interface UpcomingReservationProps {
2626
const UpcomingReservation = ({
2727
imageURL,
2828
address,
29-
kakaoURL,
3029
name,
3130
phone,
3231
price,
@@ -42,7 +41,6 @@ const UpcomingReservation = ({
4241

4342
const handleClickChatButton = () => {
4443
//오픈채팅방 주소 알려주는 모달 뜨게?하면 될 듯
45-
console.log(kakaoURL);
4644
};
4745

4846
const handleClickShopButton = () => {

apps/duri/src/components/payment/Widget.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,6 @@ const PaymentWidget = ({
6868
widgets.setAmount(amount);
6969
}, [widgets, amount]);
7070

71-
useEffect(() => {
72-
console.log(uuidData);
73-
}, [uuidData]);
74-
7571
return (
7672
<Container direction="column">
7773
<Flex direction="column" className="wrapper">

apps/duri/src/components/request/Calendar.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ const MonthlyCalendar = ({ onSelect }: CalendarProps) => {
2929
const stringDate = format(value, 'yyyy-MM-dd');
3030
onSelect('day', stringDate);
3131
}
32-
console.log(value);
3332
};
3433
return (
3534
<Flex margin="7px 0 0 0" padding="0 20px">

apps/duri/src/mocks/index.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
export async function enableMocking() {
2-
console.log(import.meta.env.VITE_MSW_ENABLED);
32
if (import.meta.env.VITE_MSW_ENABLED === 'true') {
43
const { worker } = await import('./browser');
54
return await worker.start({
65
onUnhandledRequest: 'bypass',
76
});
8-
} else {
9-
console.log('MSW is disabled');
107
}
118
}

apps/duri/src/pages/My/MyReview.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ const MyReviewPage = () => {
2424

2525
useEffect(() => {
2626
if (reviewListData) {
27-
console.log(reviewListData);
2827
setReviewCount(reviewListData.reviewCnt);
2928
setReviewList(reviewListData.reviewList);
3029
}

apps/duri/src/pages/Payment/Success.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,6 @@ const SuccessPage = () => {
6868
quotationId: quotationId,
6969
};
7070

71-
// console.log(paymentInfo)
72-
7371
postPaymentConfirm(paymentInfo);
7472
}
7573
}, [verifySuccess]);

apps/duri/src/pages/Quotation/QuotationDetail.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ const QuotationDetailPage = () => {
7070
setBestRatingShop(bestRatingShop);
7171
setBestShop(bestShop);
7272
setQuotationList(quotationListData.quotations);
73-
74-
console.log(quotationListData);
7573
}
7674
}, [quotationListData]);
7775

apps/duri/src/pages/Quotation/index.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ const QuotationPage = () => {
1919
window.scrollTo(0, 0);
2020
}, []);
2121

22-
useEffect(() => {
23-
console.log(requestList);
24-
}, [requestList]);
25-
2622
return (
2723
<MobileLayout backgroundColor={theme.palette.Gray_White}>
2824
<Header title="요청서 및 견적서" />

apps/duri/src/pages/Review/ReviewModify.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ const ReviewModifyPage = () => {
4747

4848
useEffect(() => {
4949
if (reviewData) {
50-
console.log(reviewData);
5150
setPetInfo(reviewData.petInfo);
5251
setImageURL(reviewData.imgUrl);
5352
setValue('rating', reviewData.rating);

apps/duri/src/pages/Shop/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,9 @@ const Shop = () => {
175175
if (searchShops.length > 0) {
176176
setIsSearchMode(true);
177177
setShops(searchShops);
178-
// console.log('검색결과:', searchShops);
179178
} else {
180179
setIsSearchMode(false);
181180
setShops(nearbyShops);
182-
// console.log('내주변:', nearbyShops);
183181
}
184182
}, [searchShops, nearbyShops]);
185183

0 commit comments

Comments
 (0)