Skip to content

Commit

Permalink
chore: TEST용 console log 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
lydiacho committed Aug 8, 2024
1 parent ba264ad commit 98dce2c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions src/views/ApplyPage/components/DefaultSection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ const ProfileImage = ({ disabled, pic }: ProfileImageProps) => {

const LIMIT_SIZE = 1024 ** 2 * 10; // 10MB
if (LIMIT_SIZE < imageFile.size) {
// TEST
console.log('🤬ERROR : ', imageFile);
setValue('picture', null);
setError('picture', { type: 'max-size', message: VALIDATION_CHECK.IDPhoto.errorText });
setImage('max-size');
Expand Down
6 changes: 0 additions & 6 deletions src/views/ApplyPage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ const ApplyPage = ({ onSetComplete }: ApplyPageProps) => {
commonQuestions: commonQuestionsDraft,
partQuestions: partQuestionsDraft,
} = draftData?.data || {};
useEffect(() => {
// TEST
console.log('🟡', applicantDraft?.pic);
}, []);

const { questionsData, questionsIsLoading } = useGetQuestions(applicantDraft);
const { commonQuestions, partQuestions, questionTypes } = questionsData?.data || {};
Expand Down Expand Up @@ -260,8 +256,6 @@ const ApplyPage = ({ onSetComplete }: ApplyPageProps) => {

type === 'draft' ? track('click-apply-draft') : track('click-apply-confirm_submit');
type === 'draft' ? draftMutate(formValues) : submitMutate(formValues);
//TEST
console.log('🔴', { picture: formValues.picture, pictureUrl: formValues.pictureUrl });
};

const handleApplySubmit = () => {
Expand Down

0 comments on commit 98dce2c

Please sign in to comment.