diff --git a/packages/nextjs/pages/agent-explorer/AgentCard.tsx b/packages/nextjs/pages/agent-explorer/AgentCard.tsx index 60b6b2f8..6c9f6de3 100644 --- a/packages/nextjs/pages/agent-explorer/AgentCard.tsx +++ b/packages/nextjs/pages/agent-explorer/AgentCard.tsx @@ -8,46 +8,50 @@ type Props = { export default function PropertyCard({ agent }: Props) { return ( -
-
-
- Picture -
-
-
-
-
- {agent.name} - -
- - Username.eth - -
- -
-
+
+ Picture +
+ +
+
+
+ {agent.name} + +
+ + Username.eth + +
+ +
+ + )} + ); } diff --git a/packages/nextjs/pages/property-explorer/PropertyCard.tsx b/packages/nextjs/pages/property-explorer/PropertyCard.tsx index 96d1f8af..83a2c4fc 100644 --- a/packages/nextjs/pages/property-explorer/PropertyCard.tsx +++ b/packages/nextjs/pages/property-explorer/PropertyCard.tsx @@ -8,29 +8,33 @@ type Props = { export default function PropertyCard({ property }: Props) { return ( -
- Picture -
- - Username.eth - - -

{property.address}

-
-
-
- PRICE - {property.price.toLocaleString("en-US", { style: "currency", currency: "USD" })} -
-
-
TYPE
-
{property.type}
-
-
-
ZONING
-
Residential
-
-
-
+ <> + {property && ( +
+ Picture +
+ + Username.eth + + +

{property.address}

+
+
+
+ PRICE + {property.price.toLocaleString("en-US", { style: "currency", currency: "USD" })} +
+
+
TYPE
+
{property.type}
+
+
+
ZONING
+
Residential
+
+
+
+ )} + ); }