Skip to content

Commit 0a816dc

Browse files
committed
Refactor: console.log 삭제
1 parent e18cc62 commit 0a816dc

File tree

8 files changed

+2
-17
lines changed

8 files changed

+2
-17
lines changed

src/api/oauth.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ export const getRefresh = async (refreshToken) => {
9292
export const checkIsRegisted = async () => {
9393
try {
9494
const res = await GetAxiosInstance('/api/auth/epicgames/login');
95-
console.log(res.status);
9695
if (res?.status == '222') return true;
9796
else return false;
9897
} catch (e) {

src/axios/AxiosInstance.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ axiosInstance.interceptors.response.use(
2727

2828
async (error) => {
2929
if (error.response?.data?.status === '449') {
30-
console.log('잘못된 토큰');
30+
console.error('잘못된 토큰');
3131
const originalConfig = error.config;
3232
try {
3333
const refresh = localStorage.getItem('refreshToken');

src/components/pages/Auth/Client/ClientInfo.jsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,6 @@ const ClientInfo = () => {
8787
isChecked,
8888
]);
8989

90-
useEffect(() => {
91-
console.log(businessLogo);
92-
}, [businessLogo]);
93-
9490
return (
9591
<Container>
9692
<Title>클라이언트 정보 입력</Title>

src/components/pages/Auth/RegistStart/RegistStart.jsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ const RegistStart = () => {
2929
const handleNextPage = () => {
3030
setRegistPage(1);
3131
};
32-
useEffect(() => {
33-
console.log(registPage);
34-
}, [registPage]);
3532
return (
3633
<Container>
3734
<TitleContainer>

src/components/pages/Request/Card/RequestCard.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ const RequestCard = ({ requestData }) => {
3434
const differenceInTime = deadline - today;
3535
const differenceInDays = Math.ceil(differenceInTime / (1000 * 3600 * 24));
3636
setDeadLine(differenceInDays);
37-
console.log(requestData);
3837
};
3938
calculateDaysUntilDeadline();
4039
}, [requestData]);

src/components/pages/Request/RequestHome/RequestHome.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const RequestHomeComponent = () => {
1717
const getAllList = async () => {
1818
try {
1919
const res = await getAllRequests(detailPage);
20-
console.log(res);
20+
2121
setRequestInfo(res.data);
2222
setTotalPage(res.data.totalPages);
2323
} catch (e) {

src/components/pages/Request/RequestRegist/RequestRegistComponent/RequestRegistComponent.jsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ const RequestRegistComponent = () => {
4949
};
5050

5151
const transformDate = () => {
52-
console.log('실행됨');
5352
const newProjectInfo = {
5453
...projectInfo,
5554
startDate: '20' + projectInfo['startDate'],
@@ -76,10 +75,6 @@ const RequestRegistComponent = () => {
7675
}
7776
};
7877

79-
useEffect(() => {
80-
console.log(projectInfo);
81-
}, [projectInfo]);
82-
8378
return (
8479
<Container>
8580
<Title>프로젝트 정보 입력</Title>

src/components/pages/Request/RequestTeam/RequestTeamCard/RequestTeamCard.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ const RequestTeamCard = ({ data, index, setSelectedTeamId }) => {
3333
};
3434
useEffect(() => {
3535
setRadarPoints(getPointAvgsInOrder());
36-
console.log(data);
3736
}, [data]);
3837

3938
return (

0 commit comments

Comments
 (0)