From e1c3acb4625f3c6424f05205350b0162df0baecc Mon Sep 17 00:00:00 2001
From: sonnguyenkieio <89386072+sonnguyenkieio@users.noreply.github.com>
Date: Mon, 6 Sep 2021 10:15:43 +0700
Subject: [PATCH] :sparkles: feat: Breadcrumb Common
---
.../common/BreadcrumbCommon/BreadcrumbCommon.tsx | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/components/common/BreadcrumbCommon/BreadcrumbCommon.tsx b/src/components/common/BreadcrumbCommon/BreadcrumbCommon.tsx
index 615a26893..a343ac55e 100644
--- a/src/components/common/BreadcrumbCommon/BreadcrumbCommon.tsx
+++ b/src/components/common/BreadcrumbCommon/BreadcrumbCommon.tsx
@@ -19,19 +19,19 @@ const BreadcrumbCommon = ({ crumbs, showHomePage=true } : BreadcrumbCommonProps)
crumbs.map((crumb, i) => {
if (i === 0) {
return (
-
+
)
}
if (i === crumbs.length-1) {
return (
-
-
+
+ {crumb.name}
)
}
return (
-
-
+
+
)
})