We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 632c849 commit 0f6f87bCopy full SHA for 0f6f87b
src/components/AppBreadcrumb.js
@@ -8,7 +8,6 @@ import { CBreadcrumb, CBreadcrumbItem } from '@coreui/react'
8
const AppBreadcrumb = () => {
9
const currentLocation = useLocation().pathname
10
11
- //array1.find(element => element > 10);
12
const getRouteName = (pathname, routes) => {
13
const currentRoute = routes.find((route) => route.path === pathname)
14
return currentRoute.name
0 commit comments