Skip to content

Commit 1c423e3

Browse files
콘솔창 정리
콘솔창 정리
2 parents b058f3a + 33a4b9f commit 1c423e3

File tree

10 files changed

+0
-21
lines changed

10 files changed

+0
-21
lines changed

src/components/common/InformationBar/InformationBar.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ function InformationBar({
2323
useEffect(() => {
2424
if (window.Kakao && !window.Kakao.isInitialized()) {
2525
window.Kakao.init("0e75199aafea8afc76aa6dd724c8f4bd"); // 🔥 여기에 JavaScript 키 입력
26-
console.log("Kakao SDK Initialized");
2726
}
2827
}, []);
2928

src/components/common/Input/Input/Input.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,12 @@ function Input() {
6868
.postRecipients(requestBody)
6969
.then((response) => {
7070
const newId = response.data.id;
71-
console.log(response);
7271
navigate(`/post/${newId}`);
7372
})
7473
.catch((error) => {
7574
console.error("ID 생성 실패:", error.response?.data || error.message);
7675
});
7776
}
78-
console.log("cardContent 값.:", cardContent);
7977

8078

8179
return (

src/components/common/Input/Picker/ImgPicker.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ const ImgPicker = ({ onSelect }) => {
7373
if (response.data && response.data.imageUrls) {
7474
setImages(response.data.imageUrls);
7575
} else {
76-
console.log("이미지가 없습니다.");
7776
}
7877
} catch (error) {
7978
console.error("이미지를 불러오는 중 오류 발생:", error);

src/components/common/Input/ProfileInput/ProfileInput.jsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,25 +68,18 @@ function ProfileInput() {
6868
font: selectedFont || "Noto Sans",
6969
};
7070

71-
console.log("서버로 전송할 데이터:", requestBody);
72-
73-
console.log("폰트 값:", selectedFont); // 이 부분으로 확인
7471
try {
7572
const response = await recipientsService.postRecipientsMessages(
7673
numericId, // numericId를 전달
7774
requestBody
7875
);
79-
console.log("서버 응답:", response);
8076

8177
navigate(`/post/${numericId}`); // 숫자형 id로 이동
8278
} catch (error) {
8379
console.error("서버 요청 실패:", error.response?.data || error.message);
8480
}
8581
};
8682

87-
console.log(selectedRecipient);
88-
console.log(name);
89-
9083
return (
9184
<Bone>
9285
<ProfileInputName value={name} onChange={setName} onError={setHasError} />

src/components/common/Input/ProfileInput/ProfileInputChoiceImage.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ function ProfileInputChoiceImage({ onImageSelect }) {
103103
try {
104104
const response = await profileImageService.getProfileImageService();
105105
setImages(response.data.imageUrls);
106-
console.log(response);
107106
} catch (error) {
108107
console.error("이미지를 불러오는 중 오류 발생:", error);
109108
}
@@ -114,7 +113,6 @@ function ProfileInputChoiceImage({ onImageSelect }) {
114113
const handleImageChange = (image) => {
115114
setSelectedImg(image);
116115
onImageSelect(image);
117-
console.log("선택된 프로필 이미지:", image);
118116
};
119117

120118
return (

src/components/common/Input/ProfileInput/ProfileInputRelationChoice.jsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,6 @@ function ProfileInputRelationChoice({ onSelectRelation }) {
2424
onSelectRelation(option);
2525
};
2626

27-
useEffect(() => {
28-
console.log("선택된 관계:", selectedOption);
29-
}, [selectedOption]);
30-
3127
return (
3228
<Bone>
3329
<RelationText>상대와의 관계</RelationText>

src/components/common/Input/ProfileInput/ProfileInputText.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ function ProfileInputText({ value, onChange, onError, onFontSelect }) {
4545
"나눔명조",
4646
"나눔손글씨 손편지체",
4747
];
48-
console.log(hasError);
4948
const [selectedOption, setSelectedOption] = useState("Noto Sans");
5049

5150
const handleOptionSelect = (option) => {

src/components/domain/rollingpaper/Card/CardWrite.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,6 @@ const CardWrite = ({ message, onDelete }) => {
195195

196196
const textAlign = "left";
197197
const fontFamily = message.font || "Noto Sans KR";
198-
console.log(fontFamily)
199198
return (
200199
<>
201200
<CardContainer onClick={handleCardClick}>

src/components/domain/rollingpaper/Card/CreateAtCardList.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,6 @@ function CreateAtCardList() {
302302
};
303303
});
304304

305-
console.log(updatedRecipients);
306305
setSelectedRecipients(updatedRecipients);
307306
} catch (error) {
308307
console.error("받는 사람 데이터를 가져오지 못했습니다:", error);

src/components/domain/rollingpaper/Card/PopularCardList.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,6 @@ function PopularCardList() {
304304
};
305305
});
306306

307-
console.log(updatedRecipients);
308307
setSelectedRecipients(updatedRecipients);
309308
} catch (error) {
310309
console.error("받는 사람 데이터를 가져오지 못했습니다:", error);

0 commit comments

Comments
 (0)