'use client';

import { usePathname } from 'next/navigation';
import Navbar from './Navbar';

export default function NavigationWrapper() {
  const pathname = usePathname();
  const isAccountPage = pathname?.startsWith('/account');

  if (isAccountPage) {
    return null;
  }

  return <Navbar />;
} 