diff --git a/components/navbar/AccountSidebar.tsx b/components/navbar/AccountSidebar.tsx index f820278ee..d3d1450cf 100644 --- a/components/navbar/AccountSidebar.tsx +++ b/components/navbar/AccountSidebar.tsx @@ -23,6 +23,7 @@ import CopyText from 'components/common/CopyText' import Link from 'next/link' import Wallet from './Wallet' import { useRouter } from 'next/router' +import { AvatarFallback } from '@radix-ui/react-avatar' export const AccountSidebar: FC = () => { const { address } = useAccount() @@ -49,7 +50,16 @@ export const AccountSidebar: FC = () => { color="gray3" > {ensAvatar ? ( - + + } + /> ) : ( )} @@ -169,7 +179,10 @@ export const AccountSidebar: FC = () => { - + { My Items - + { Listings - + { Offers Made - + { > {ensAvatar ? ( - + + } + /> ) : ( { - @@ -72,7 +73,7 @@ const AvatarFallback = styled(AvatarPrimitive.Fallback, { export const Avatar = forwardRef< ElementRef, ComponentPropsWithoutRef & { - fallback?: string + fallback?: ReactElement size?: AvatarRootProps['size'] corners?: AvatarRootProps['corners'] } diff --git a/pages/portfolio/[[...address]].tsx b/pages/portfolio/[[...address]].tsx index 5d27937ae..839aa412a 100644 --- a/pages/portfolio/[[...address]].tsx +++ b/pages/portfolio/[[...address]].tsx @@ -66,7 +66,7 @@ const IndexPage: NextPage = () => { const [tokenFiltersOpen, setTokenFiltersOpen] = useState(false) const [hideSpam, setHideSpam] = useState(true) const [filterCollection, setFilterCollection] = useState( - undefined + undefined, ) const [sortByType, setSortByType] = useState('acquiredAt') @@ -115,7 +115,7 @@ const IndexPage: NextPage = () => { tokenId: item.token?.tokenId as string, collectionId: item.token?.collection?.id as string, })), - [selectedItems] + [selectedItems], ) const tokenTableRef = useRef(null) @@ -212,7 +212,16 @@ const IndexPage: NextPage = () => { > {ensAvatar ? ( - + + } + /> ) : (