Skip to content

bugfix: Allow all ReactNodes and improve readability #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 20, 2024

Conversation

calthejuggler
Copy link
Contributor

This PR upgrades React, allows all ReactNodes as children and improves readability of the code. It also removes React.cloneElement in the Treatment and TreatmentVariant components.

@@ -1,6 +1,12 @@
import React from "react";
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are no changes in this file other than formatting

Copy link

@sctrindade sctrindade left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👌

@calthejuggler calthejuggler merged commit 24f831a into main Feb 20, 2024
@calthejuggler calthejuggler deleted the bugfix/allow-all-react-nodes branch February 20, 2024 09:16
@calthejuggler
Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @calthejuggler and the rest of your teammates on Graphite Graphite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants