Skip to content

Cannot read property 'then' of undefined #9

@AlexVFornazieri

Description

@AlexVFornazieri

Hey guys,

I try do it works in my app, but when I call dispatch().then() in a vue component this erro "Cannot read property 'then' of undefined" is showed, any tip?

this.$store.dispatch('signInWithEmail', {
        email: this.formEmail,
        password: this.formPassword
      }).then(() => {
        this.loading = false
     })

Thanks all

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions