score:1

const createProjectHandler = async () => {
  createProject(project).then(() => {
    props.history.push('/')
  })

}

Related Query

More Query from same tag