Skip to content

Commit

Permalink
[fix] console.log 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
edder773 committed Dec 3, 2024
1 parent 6c8f849 commit 3388b4a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion apps/backend/src/websocket/websocket.gateway.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ export class WebsocketGateway implements OnGatewayInit, OnGatewayConnection, OnG

handleDisconnect(client: Socket) {
this.clients.delete(client.id);
console.log(`Client disconnected: ${client.id}`);
}

async initializePubSub() {
Expand Down
1 change: 0 additions & 1 deletion apps/frontend/src/pages/CropMarket.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ const CropMarket: React.FC = () => {
});

newSocket.on('connect', () => {
console.log('connect!');
setLoading(false);
setTimeout(() => {
newSocket.emit('join', { cropId: curCrop });
Expand Down
1 change: 0 additions & 1 deletion apps/frontend/src/services/Api.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ api.interceptors.response.use(
pendingRequests.delete(requestKey);

if (error.response && error.response.status === 401) {
console.log(error);
localStorage.clear();
alert('액세스 토큰이 만료되었습니다. 로그아웃되었습니다.');
window.location.href = '/';
Expand Down

0 comments on commit 3388b4a

Please sign in to comment.