'use client'
import Footer from '@/components/footer/Footer'
import { usePathname } from 'next/navigation'
import React from 'react'


const WrapperFooter = () => {

    const pathname = usePathname()
    const isLogin = pathname === '/accounts/login' 
    if(isLogin) return null;

  return (
    <div>
      <Footer />
    </div>
  )
}

export default WrapperFooter
