// import React from 'react'; // import { Link, useLocation } from 'react-router-dom'; // const Breadcrumb = () => { // const location = useLocation(); // const paths = location.pathname.split('/').filter(path => path); // // Only include the last path as active // const lastPath = paths[paths.length - 1]; // return ( // // ); // }; // export default Breadcrumb; // import React from 'react'; // import { useLocation, Link } from 'react-router-dom'; // const Breadcrumb = () => { // const location = useLocation(); // // Split the current path into segments // const pathnames = location.pathname.split('/').filter((x) => x); // return ( //