chore: clean-up

This commit is contained in:
Łukasz Holeczek 2021-05-24 17:17:36 +02:00
parent 632c849fa7
commit 0f6f87b0c0

View File

@ -8,7 +8,6 @@ import { CBreadcrumb, CBreadcrumbItem } from '@coreui/react'
const AppBreadcrumb = () => {
const currentLocation = useLocation().pathname
//array1.find(element => element > 10);
const getRouteName = (pathname, routes) => {
const currentRoute = routes.find((route) => route.path === pathname)
return currentRoute.name