Skip to content

Commit

Permalink
Fix #6148: fixed the issue with the home separator if home prop is nu…
Browse files Browse the repository at this point in the history
…ll/undefined (#6375)

Co-authored-by: Shubham Saurabh <[email protected]>
  • Loading branch information
shubhsaur and Shubham Saurabh authored Apr 29, 2024
1 parent 1f14eb6 commit e2c77da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/breadcrumb/BreadCrumb.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ export const BreadCrumb = React.memo(
<nav {...rootProps}>
<ol {...menuProps}>
{home}
{separator}
{home && separator}
{items}
</ol>
</nav>
Expand Down

0 comments on commit e2c77da

Please sign in to comment.