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

fix: treat node with empty children as leaf #408

Merged
merged 1 commit into from
Oct 22, 2022
Merged

fix: treat node with empty children as leaf #408

merged 1 commit into from
Oct 22, 2022

Conversation

zhouhao
Copy link
Contributor

@zhouhao zhouhao commented Oct 18, 2022

Hello @bkrem, thank you for your great package.

I feel it makes more sense here to treat node with empty children as leaves.
WDYT?

@bkrem
Copy link
Owner

bkrem commented Oct 21, 2022

Hi @zhouhao,

Sorry about the wait, it's been a very busy week.

Agreed and this all looks great! Will try to get a patch release out for this in the next 24hrs.

I also think there is an issue open for this, which I'll link.

@zhouhao
Copy link
Contributor Author

zhouhao commented Oct 21, 2022

Thank you @bkrem ! No worries. ;-)

I guess this is the issue: #395

@bkrem
Copy link
Owner

bkrem commented Oct 22, 2022

Closes #395

@bkrem bkrem changed the title treat node with empty children as leaf fix: treat node with empty children as leaf Oct 22, 2022
@bkrem bkrem merged commit 08ddeaa into bkrem:master Oct 22, 2022
@bkrem
Copy link
Owner

bkrem commented Oct 22, 2022

Published as https://github.com/bkrem/react-d3-tree/releases/tag/v3.3.5

Thanks again for the fix! 🙌

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.

None yet

2 participants