Removed old hook
This commit is contained in:
@@ -1,10 +1,8 @@
|
||||
import { FC } from 'react'
|
||||
import Link from 'next/link'
|
||||
import cn from 'classnames'
|
||||
import type { BigcommerceProvider } from '@framework'
|
||||
import { LineItem } from '@framework/types'
|
||||
import type { LineItem } from '@framework/types'
|
||||
import useCart from '@framework/cart/use-cart'
|
||||
import useFake from '@commerce/cart/use-fake'
|
||||
import useCustomer from '@framework/customer/use-customer'
|
||||
import { Heart, Bag } from '@components/icons'
|
||||
import { useUI } from '@components/ui/context'
|
||||
@@ -24,8 +22,6 @@ const UserNav: FC<Props> = ({ className }) => {
|
||||
const { toggleSidebar, closeSidebarIfPresent, openModal } = useUI()
|
||||
const itemsCount = data?.lineItems.reduce(countItem, 0) ?? 0
|
||||
|
||||
const x = useFake<BigcommerceProvider>()
|
||||
|
||||
return (
|
||||
<nav className={cn(s.root, className)}>
|
||||
<div className={s.mainContainer}>
|
||||
|
||||
Reference in New Issue
Block a user