Fix bug causing unwanted text to be rendered. (#31334)

This commit is contained in:
Justin Kambic 2019-02-27 11:12:54 -05:00 committed by GitHub
parent c95ce96d0a
commit 38f7dca087
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,6 +52,6 @@ export const EmptyState = ({ children, count }: EmptyStateProps) => (
}
/>
)}
{count && count > 0 && children}
{!!count && count > 0 && children}
</Fragment>
);