Skip to content

Need to improve the code snippet of useDispatch #189

@mrdulin

Description

@mrdulin

useDispatch() does NOT accept a function parameter.

It will generate below snippet:

const dispatch = useDispatch(function)

image

Expect:

const dispatch = useDispatch()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions