Skip to content

Conversation

@gribnoysup
Copy link
Collaborator

@gribnoysup gribnoysup commented Sep 22, 2022

Before After
image image

return (
<div className={style('chart-wrapper')}>
{docsTotal && (
{!isNaN(docsTotal) && (
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Drive-by to fix 0 rendering for a split second (value needs to be false, null, or undefined for react not to render it)

@gribnoysup gribnoysup merged commit 3bdf884 into main Sep 22, 2022
@gribnoysup gribnoysup deleted the fix-import-number branch September 22, 2022 11:35
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