From 5c3f21e46f97ad9416792966a18a2e04596e65bc Mon Sep 17 00:00:00 2001 From: Batuhan Tomo <91488737+Rekl0w@users.noreply.github.com> Date: Wed, 1 May 2024 14:53:43 +0300 Subject: [PATCH] Fix #6510: remove unused code (#6511) --- 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) {