Skip to content
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

Refactor plots #91

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Refactor plots #91

wants to merge 2 commits into from

Conversation

Peter9192
Copy link
Member

I've been working on a way to generalize the plots as suggested #87. It seems to clean up the code quite nicely, but somehow it fails to render. Need to look further into it, or abandon it for now. At least now it's out here.

@Peter9192
Copy link
Member Author

Apparently it makes a difference whether you use prop destructuring. Using props.chilren rather than children seems to have fixed the issue.

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.

1 participant