style(BreadcrumbItem): Condition check (#30148)

This commit is contained in:
xiejiahe 2021-04-15 11:55:35 +08:00 committed by GitHub
parent fb3d3c923d
commit 65c71769ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,7 +62,7 @@ const BreadcrumbItem: BreadcrumbItemInterface = ({
return (
<span>
{link}
{separator && separator !== '' && (
{separator && (
<span className={`${prefixCls}-separator`}>{separator}</span>
)}
</span>