import Link from "next/link"
import PropTypes from "prop-types"
import React from "react"
import useUser from '../../hooks/useUser'
import useCart from '../../hooks/useCart'
import logo from './sos-logo.png'
import styles from './style.module.css'
import AdminNav from '~/components/adminNav'
const Header = () => {
const user = useUser()
const [cart] = useCart()
const cartSize = (cart && cart.items.length) ? cart.items.map(item => item.count).reduce((sum, current) => (sum + current)) : 0
return (
<>
>
)
}
Header.propTypes = {
user: PropTypes.object,
}
Header.defaultProps = {
user: null,
}
export default Header