diff --git a/components/marketplace/buy-button.tsx b/components/marketplace/buy-button.tsx index 16df841..371f5ff 100644 --- a/components/marketplace/buy-button.tsx +++ b/components/marketplace/buy-button.tsx @@ -7,6 +7,8 @@ export function BuyButton() { const listingsSection = document.getElementById("marketplace-listings"); if (listingsSection) { listingsSection.scrollIntoView({ behavior: "smooth" }); + } else { + console.error("Marketplace listings section not found"); } }; diff --git a/components/marketplace/hypercert-listings.tsx b/components/marketplace/hypercert-listings.tsx index 9efc312..077c22d 100644 --- a/components/marketplace/hypercert-listings.tsx +++ b/components/marketplace/hypercert-listings.tsx @@ -11,11 +11,11 @@ import Pagination from "../global/pagination/pagination"; import HypercertListingsTable from "./hypercert-listings-table"; function ListingsListNoResults() { - return "No listings found"; + return We couldn't find any listings...; } function ListingsListLoadError() { - return We couldn't find any listings...; + return Error loading listings...; } const getListingsData = cache(async (params: GetAllListingsParams) => { @@ -59,7 +59,7 @@ export default async function HypercertListings({ } return ( -
+
}>