Skip to content

Possible missing argument #2

@FleaRex

Description

@FleaRex

I was doing the Vue Mastery Real World Testing course and it seems like in this line you need this line:

fetchEvent({ commit }, id) {

to be fetchEvent({ commit, state }, id) { so that the action can access state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions