diff --git a/app/properties/search-results/page.jsx b/app/properties/search-results/page.jsx index 0011678..da0fc5c 100644 --- a/app/properties/search-results/page.jsx +++ b/app/properties/search-results/page.jsx @@ -32,7 +32,7 @@ const SearchResultsPage = async ({ } const propertiesQueryResults = await Property.find(query).lean(); - const properties = convertToSerializeableObject(propertiesQueryResults); + const properties = propertiesQueryResults.map(convertToSerializeableObject); return ( <>