Skip to content

EmptyState fixer doesn't seem to handle conditionally rendered EmptyStateIcon components #792

@wise-king-sullyman

Description

@wise-king-sullyman

Src:
Image

After the current codemods run:
Image

It should be ideally moving that logic into the icon prop of the EmptyState.

This issue was encountered in https://gitlab.cee.redhat.com/service/uhc-portal (requires RH VPN)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions