diff --git a/src/app/cart/components/cart-items/cart-items-list.tsx b/src/app/cart/components/cart-items/cart-items-list.tsx index a434ccc0..c863fc81 100644 --- a/src/app/cart/components/cart-items/cart-items-list.tsx +++ b/src/app/cart/components/cart-items/cart-items-list.tsx @@ -12,6 +12,7 @@ import SocialProfilesItem, { } from '#/components/profile-list/components/social-profiles-item' import LoadingRow from '#/components/profile-list/components/list-item/loading-list-item' import ProfileListItem from '#/components/profile-list/components/list-item/profile-list-item' +import ProfileList from '#/components/profile-list' export interface ProfileListProfile { address: Address @@ -104,7 +105,7 @@ const CartItemsList: React.FC = ({ {socialProfiles?.map(social => ( ))} - {(profiles?.length || 0) > 0 && ( + {(profiles?.length || 0) >= 30 ? ( = ({ ) }} /> + ) : ( + )} )} diff --git a/src/app/cart/components/cart.tsx b/src/app/cart/components/cart.tsx index c208ea0f..0f81f72e 100644 --- a/src/app/cart/components/cart.tsx +++ b/src/app/cart/components/cart.tsx @@ -62,9 +62,11 @@ const Cart = () => { ) : (
= 30 && 'xl:pb-0' + )} onScroll={e => { - // onScrollCartItems(e); onScrollSidebar(e) }} > @@ -73,7 +75,10 @@ const Cart = () => { )} {clearCartModalOpen && setClearCartModalOpen(false)} />}
30 && 'xl:sticky' + )} ref={SidebarRef} >
@@ -90,24 +95,16 @@ const Cart = () => { setSelectedPlatform('farcaster') }} /> - {/* Import from Lens { - setImportModalOpen(true) - setSelectedPlatform('lens') - }} - /> */}
= 30 && 'xl:sticky' + )} > { {isClient && (
0 ? 'flex' : 'hidden' )} > -
+

diff --git a/src/components/navigation/mobile.tsx b/src/components/navigation/mobile.tsx index 03c7d0ee..bde2c7f1 100644 --- a/src/components/navigation/mobile.tsx +++ b/src/components/navigation/mobile.tsx @@ -1,14 +1,22 @@ import React from 'react' import { useAccount } from 'wagmi' +import { usePathname } from 'next/navigation' import NavItems from './components/nav-items' import CartButton from './components/cart-button' +import { cn } from '#/lib/utilities' const Mobile: React.FC = () => { + const pathname = usePathname() const { address: userAddress } = useAccount() return ( -