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