Skip to content

It's now impossible to use children in <Treatment> #11

@jonathanweiss

Description

@jonathanweiss

Since the default value for render is an empty function, the check in line 25 in treatment.js will always be truthy. This breaks the functionality to use children instead of a render prop.

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