From e7649cb5dba061e599147e56a58a8973b13aaaec Mon Sep 17 00:00:00 2001 From: Batuhan Tomo Date: Tue, 30 Apr 2024 15:58:01 +0300 Subject: [PATCH] Fix #6510: remove unused code --- components/lib/breadcrumb/BreadCrumb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/lib/breadcrumb/BreadCrumb.js b/components/lib/breadcrumb/BreadCrumb.js index d314698718..acd08e51b6 100644 --- a/components/lib/breadcrumb/BreadCrumb.js +++ b/components/lib/breadcrumb/BreadCrumb.js @@ -48,7 +48,7 @@ export const BreadCrumb = React.memo( return url === lastPath ? 'page' : undefined; }; - const createHome = (index) => { + const createHome = () => { const home = props.home; if (home) {