Skip to content

Commit

Permalink
fix: another fix for import issue dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanmtz committed Apr 12, 2024
1 parent 05fb7a2 commit eb1ed4c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion frontend/src/actions/taskActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ const AccountHeader = ({
<ImportIssueDialog
open={ openAddIssue }
onClose={ () => setOpenAddIssue(false) }
onCreate={ (props, history) => onHandleCreateTask(props, history) }
onCreate={ props => onHandleCreateTask(props, history) }
user={ user }
/>
</>
Expand Down

0 comments on commit eb1ed4c

Please sign in to comment.