mirror of
https://github.com/vercel/commerce.git
synced 2025-07-27 04:01:23 +00:00
✨ feat: Breadcrumb Common
This commit is contained in:
@@ -9,7 +9,7 @@ interface BreadcrumbCommonProps {
|
||||
showHomePage?: boolean;
|
||||
}
|
||||
|
||||
const BreadcrumbCommon = ({ crumbs, showHomePage=false } : BreadcrumbCommonProps) => {
|
||||
const BreadcrumbCommon = ({ crumbs, showHomePage=true } : BreadcrumbCommonProps) => {
|
||||
if (showHomePage) {
|
||||
crumbs.unshift({link: "/", name: "Home"});
|
||||
}
|
||||
|
Reference in New Issue
Block a user