diff --git a/apps/client/src/widgets/Breadcrumb.tsx b/apps/client/src/widgets/Breadcrumb.tsx index 29d5cc7f0..0c08cf160 100644 --- a/apps/client/src/widgets/Breadcrumb.tsx +++ b/apps/client/src/widgets/Breadcrumb.tsx @@ -26,7 +26,7 @@ export default function Breadcrumb() { <> {notePath.slice(0, INITIAL_ITEMS).map((item, index) => ( - {index === 0 && notePath.length > 1 + {index === 0 ? : } @@ -44,7 +44,7 @@ export default function Breadcrumb() { ) : ( notePath.map((item, index) => ( - {index === 0 && notePath.length > 1 + {index === 0 ? : }