diff --git a/apps/next-react/src/components/Modals/BurnModal.js b/apps/next-react/src/components/Modals/BurnModal.js index 5037b7ab04..352fe190e6 100644 --- a/apps/next-react/src/components/Modals/BurnModal.js +++ b/apps/next-react/src/components/Modals/BurnModal.js @@ -150,7 +150,7 @@ const BurnModal = ({ open, onClose, token }) => { diff --git a/apps/next-react/src/components/Modals/TransferModal.js b/apps/next-react/src/components/Modals/TransferModal.js index 965624f696..4253850763 100644 --- a/apps/next-react/src/components/Modals/TransferModal.js +++ b/apps/next-react/src/components/Modals/TransferModal.js @@ -161,7 +161,7 @@ const TransferModal = ({ open, onClose, token }) => { diff --git a/apps/next-react/src/components/TokenCard.js b/apps/next-react/src/components/TokenCard.js index 9574adb997..06f530fb3d 100644 --- a/apps/next-react/src/components/TokenCard.js +++ b/apps/next-react/src/components/TokenCard.js @@ -50,9 +50,9 @@ const TokenCard = ({ const [muted, setMuted] = useState(true); const [refreshing, setRefreshing] = useState(false); const [showModel, setShowModel] = useState(false); - const hasMatchingListing = item?.listing?.all_sellers?.find( - (seller) => seller.profile_id === pageProfile.profile_id - ); + const hasMatchingListing = item?.listing?.all_sellers?.find((seller) => { + return seller.profile_id === pageProfile?.profile_id; + }); const ifListedIsOwner = myProfile?.profile_id === item?.listing?.profile_id && typeof myProfile?.profile_id === "number"; diff --git a/apps/next-react/src/components/UI/Modals/BuyModal.jsx b/apps/next-react/src/components/UI/Modals/BuyModal.jsx index 4b0eb935f7..14e3f119c1 100644 --- a/apps/next-react/src/components/UI/Modals/BuyModal.jsx +++ b/apps/next-react/src/components/UI/Modals/BuyModal.jsx @@ -281,7 +281,7 @@ const BuyModal = ({ open, onClose, token }) => { > @@ -782,7 +782,7 @@ const AllowanceRequiredPage = ({ setTransactionHash(transaction); setModalPage(MODAL_PAGES.PROCESSING_ALLOWANCE); - web3.waitForTransaction(transaction).then(buyToken) + web3.waitForTransaction(transaction).then(buyToken); }; return ( diff --git a/apps/next-react/src/components/UI/Modals/ListModal.jsx b/apps/next-react/src/components/UI/Modals/ListModal.jsx index 33005603bd..e7c365b54d 100644 --- a/apps/next-react/src/components/UI/Modals/ListModal.jsx +++ b/apps/next-react/src/components/UI/Modals/ListModal.jsx @@ -325,7 +325,7 @@ const ListModal = ({ open, onClose, onSuccess = () => null, token }) => { > diff --git a/apps/next-react/src/components/UI/Modals/UnlistModal.jsx b/apps/next-react/src/components/UI/Modals/UnlistModal.jsx index 7aa903ba74..f9e7f38e9d 100644 --- a/apps/next-react/src/components/UI/Modals/UnlistModal.jsx +++ b/apps/next-react/src/components/UI/Modals/UnlistModal.jsx @@ -160,7 +160,7 @@ const UnlistModal = ({ open, onClose, onSuccess = () => null, token }) => { >