Skip to content

withService usage every time needs to specify services although I want just to use actions not any service. #4

@jalalh14

Description

@jalalh14

hi,
I had a problem,
when I want to use withService only with actions, it also needs services even it is empty and I have no services and if I dont specify that it will not working and component will not be rendered.
like below:

withService({
services: {},
actions: {
changeState: app.services.complaint.changeState
}
})(MyComponent)

Please check it.
thanks.

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