Skip to content
This repository has been archived by the owner on Mar 29, 2022. It is now read-only.

Commit

Permalink
Remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
Ph0tonic committed Apr 2, 2019
1 parent 0216395 commit 61545ab
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion app/djangochat/src/actions/MessageAction.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ export function addMessage(message) {

export function requestSendMessage(text, channelId) {
return (dispatch, getState) => {
console.log(text)
const requestBody = {
query: `
mutation {
Expand Down
1 change: 0 additions & 1 deletion app/djangochat/src/actions/ServerAction.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ function _editServer(data) {
}

export function _addUser(data) {
console.log(data)
return {
type: 'ADD_USER_SERVER',
payload: data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ class ServerInfos extends Component {
if (this.props.ws != null && this.props.ws.readyState === WebSocket.OPEN && !this.state.userUpdateListenerAdded){
this.props.ws.addEventListener('userAdded',actionData=>{
this.props._addUser(actionData.detail);
console.log(actionData)
});
this.props.ws.addEventListener('channelCreated',actionData=>{
this.props._createChannel(actionData.detail.channel);
Expand Down Expand Up @@ -107,7 +106,6 @@ class ServerInfos extends Component {
}
toastr.success("Success", "Channel successfuly created");
}).catch((err) => {
console.log(err)
toastr.error("Error", "Impossible to create a channel");
});
};
Expand Down

0 comments on commit 61545ab

Please sign in to comment.