Is it something to do with the ‘lock’ ? I even tri...
# prisma-whats-new
d
Is it something to do with the ‘lock’ ? I even tried delieveraly breaking the
createUser
function inside of
components/CreateUser
like so ->
Copy code
createUser = () => {
    const variables = {
      noArgsTest: "Thats right"
    }

    this.props.createUser({ variables })
      .then((response) => {
          this.props.router.replace('/')
      }).catch((e) => {
        console.error(e)
        this.props.router.replace('/')
      })
  }
And this does not throw an error or affect anything at all 😕