Property listing pages

This commit is contained in:
Brad Traversy
2024-07-10 07:38:50 -04:00
parent 5dd575e001
commit 0b1c9aaa02
8 changed files with 292 additions and 21 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import connectDB from '@/config/database';
const PropertiesPage = async () => {
await connectDB();
const properties = await Property.find({});
const properties = await Property.find({}).lean();
return (
<section className='px-4 py-6'>