Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/components/common/InformationBar/InformationBar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ function InformationBar({
useEffect(() => {
if (window.Kakao && !window.Kakao.isInitialized()) {
window.Kakao.init("0e75199aafea8afc76aa6dd724c8f4bd"); // 🔥 여기에 JavaScript 키 입력
console.log("Kakao SDK Initialized");
}
}, []);

Expand Down
2 changes: 0 additions & 2 deletions src/components/common/Input/Input/Input.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,14 +68,12 @@ function Input() {
.postRecipients(requestBody)
.then((response) => {
const newId = response.data.id;
console.log(response);
navigate(`/post/${newId}`);
})
.catch((error) => {
console.error("ID 생성 실패:", error.response?.data || error.message);
});
}
console.log("cardContent 값.:", cardContent);


return (
Expand Down
1 change: 0 additions & 1 deletion src/components/common/Input/Picker/ImgPicker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ const ImgPicker = ({ onSelect }) => {
if (response.data && response.data.imageUrls) {
setImages(response.data.imageUrls);
} else {
console.log("이미지가 없습니다.");
}
} catch (error) {
console.error("이미지를 불러오는 중 오류 발생:", error);
Expand Down
7 changes: 0 additions & 7 deletions src/components/common/Input/ProfileInput/ProfileInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,25 +68,18 @@ function ProfileInput() {
font: selectedFont || "Noto Sans",
};

console.log("서버로 전송할 데이터:", requestBody);

console.log("폰트 값:", selectedFont); // 이 부분으로 확인
try {
const response = await recipientsService.postRecipientsMessages(
numericId, // numericId를 전달
requestBody
);
console.log("서버 응답:", response);

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

console.log(selectedRecipient);
console.log(name);

return (
<Bone>
<ProfileInputName value={name} onChange={setName} onError={setHasError} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ function ProfileInputChoiceImage({ onImageSelect }) {
try {
const response = await profileImageService.getProfileImageService();
setImages(response.data.imageUrls);
console.log(response);
} catch (error) {
console.error("이미지를 불러오는 중 오류 발생:", error);
}
Expand All @@ -114,7 +113,6 @@ function ProfileInputChoiceImage({ onImageSelect }) {
const handleImageChange = (image) => {
setSelectedImg(image);
onImageSelect(image);
console.log("선택된 프로필 이미지:", image);
};

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,6 @@ function ProfileInputRelationChoice({ onSelectRelation }) {
onSelectRelation(option);
};

useEffect(() => {
console.log("선택된 관계:", selectedOption);
}, [selectedOption]);

return (
<Bone>
<RelationText>상대와의 관계</RelationText>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ function ProfileInputText({ value, onChange, onError, onFontSelect }) {
"나눔명조",
"나눔손글씨 손편지체",
];
console.log(hasError);
const [selectedOption, setSelectedOption] = useState("Noto Sans");

const handleOptionSelect = (option) => {
Expand Down
1 change: 0 additions & 1 deletion src/components/domain/rollingpaper/Card/CardWrite.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ const CardWrite = ({ message, onDelete }) => {

const textAlign = "left";
const fontFamily = message.font || "Noto Sans KR";
console.log(fontFamily)
return (
<>
<CardContainer onClick={handleCardClick}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,6 @@ function CreateAtCardList() {
};
});

console.log(updatedRecipients);
setSelectedRecipients(updatedRecipients);
} catch (error) {
console.error("받는 사람 데이터를 가져오지 못했습니다:", error);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,6 @@ function PopularCardList() {
};
});

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