diff --git a/components/nftMarket/ListingsView.tsx b/components/nftMarket/ListingsView.tsx index 7e2e1af7..c7794d60 100644 --- a/components/nftMarket/ListingsView.tsx +++ b/components/nftMarket/ListingsView.tsx @@ -185,7 +185,7 @@ const ListingsView = () => { const loading = loadingListings || fetchingListings return ( -
+

{`Filter Results`}

- {asssetBidsModal && assetBidsListing ? ( - - ) : null}
{listingsToShow && listingsToShow.length ? ( @@ -285,13 +278,6 @@ const ListingsView = () => { colorClass="fgd-3" onClick={() => openBidModal(x)} /> - {bidNftModal && bidListing && ( - - )}
)} {publicKey && x.sellerAddress.equals(publicKey) && ( @@ -340,6 +326,20 @@ const ListingsView = () => { onPageChange={handlePageClick} />
*/} + {asssetBidsModal && assetBidsListing ? ( + + ) : null} + {bidNftModal && bidListing ? ( + + ) : null}
) } diff --git a/pages/nft/index.tsx b/pages/nft/index.tsx index 189bed56..5f3c24bc 100644 --- a/pages/nft/index.tsx +++ b/pages/nft/index.tsx @@ -36,7 +36,7 @@ export async function getStaticProps({ locale }: { locale: string }) { const Market: NextPage = () => { // const { t } = useTranslation('nft-market') useMetaplex() - const [activeTab, setActiveTab] = useState('Listings') + const [activeTab, setActiveTab] = useState(LISTINGS) const [sellNftModal, setSellNftModal] = useState(false) const [myBidsModal, setMyBidsModal] = useState(false) const { data: isWhiteListed } = useIsWhiteListed()