diff --git a/frontend/static/js/api/notice/Notice.js b/frontend/static/js/api/notice/Notice.js index e2407e4..f0db7e1 100644 --- a/frontend/static/js/api/notice/Notice.js +++ b/frontend/static/js/api/notice/Notice.js @@ -23,7 +23,6 @@ export default class Notice { this._socket.onclose = _ => this._socket = undefined; this._socket.onmessage = message => { const data = JSON.parse(message.data); - console.log(data) if (data.type === 'friend_request') { this.friend_request(data.author); @@ -45,7 +44,6 @@ export default class Notice { } friend_request(author) { - console.log('hey') client.me.incomingFriendRequests.push(new Profile(author.username, author.id, author.avatar)); createNotification('Friend Request', `${author.username} sent you a friend request.`); if (lastView instanceof ProfilePageView && lastView.profile.id === author.id) {