diff --git a/src/components/Layout/Footer/Footer.tsx b/src/components/Layout/Footer/Footer.tsx index 2744179..44f78f6 100644 --- a/src/components/Layout/Footer/Footer.tsx +++ b/src/components/Layout/Footer/Footer.tsx @@ -7,12 +7,14 @@ import Link from 'next/link'; import Logo from '@/components/UI/NavBar/Logo'; import { FooterCategories } from '@/types/FooterCategories'; import ArrowUpComponent from '@/components/UI/Footer/ArrowUpComponent'; +import { usePathname } from 'next/navigation'; // #endregion const Footer: React.FC = () => { const scrollToTop = () => { window.scrollTo({ top: 0, behavior: 'smooth' }); }; + const pathname = usePathname(); return (