diff --git a/frontend/src/actions/taskActions.js b/frontend/src/actions/taskActions.js index 716b18c9..1d2dbdf9 100644 --- a/frontend/src/actions/taskActions.js +++ b/frontend/src/actions/taskActions.js @@ -294,7 +294,6 @@ const createTask = (task, history) => { axios .post(api.API_URL + '/tasks/create', task) .then(response => { - console.log('response', response) if (response.data && response.data.errors) { const firstError = response.data.errors[0].message if(firstError === 'url must be unique') { diff --git a/frontend/src/components/profile/components/account-header.tsx b/frontend/src/components/profile/components/account-header.tsx index cf2aac00..aaf13bfd 100644 --- a/frontend/src/components/profile/components/account-header.tsx +++ b/frontend/src/components/profile/components/account-header.tsx @@ -115,7 +115,7 @@ const AccountHeader = ({ setOpenAddIssue(false) } - onCreate={ (props, history) => onHandleCreateTask(props, history) } + onCreate={ props => onHandleCreateTask(props, history) } user={ user } />