Image gallery

This commit is contained in:
Brad Traversy
2024-07-11 08:09:26 -04:00
parent 0dc15b1a13
commit a5dbd00404
2 changed files with 46 additions and 0 deletions
+2
View File
@@ -2,6 +2,7 @@ import PropertyHeaderImage from '@/components/PropertyHeaderImage';
import PropertyDetails from '@/components/PropertyDetails';
import connectDB from '@/config/database';
import Property from '@/models/Property';
import PropertyImages from '@/components/PropertyImages';
const PropertyPage = async ({ params }) => {
await connectDB();
@@ -101,6 +102,7 @@ const PropertyPage = async ({ params }) => {
</div>
</div>
</section>
<PropertyImages images={property.images} />
</>
);
};