Skip to content

Commit 902ce49

Browse files
committed
refactor: 불필요한 console.log 제거
1 parent 283201f commit 902ce49

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/api/admin/tag.api.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ export const deleteSkillTag = async (id: number) => {
3636
};
3737

3838
export const postPositionTag = async ({ name }: Pick<TagFormType, 'name'>) => {
39-
console.log(name);
40-
4139
try {
4240
await httpClient.post<ApiCommonBasicType>(`/position-tag`, { name });
4341
} catch (e) {

src/components/admin/adminTags/AdminTagCRUD.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,13 +103,11 @@ export default function AdminTagCRUD<T>({
103103
return handleModalOpen(MODAL_MESSAGE.duplicationTag);
104104
}
105105
if (state.type === 'skill') {
106-
console.log('스킬');
107106
state.handlePutTag({ params: formData, id: itemId } as {
108107
params: T;
109108
id: number;
110109
});
111110
} else {
112-
console.log('포지션');
113111
state.handlePutTag({ params: name, id: itemId } as {
114112
params: T;
115113
id: number;

0 commit comments

Comments
 (0)