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 ( - - - - - - - - - - {agent.name} - - - - Username.eth - - - - + {agent && ( + + - - - Follow - - - + + + + + + + + {agent.name} + + + + Username.eth + + + + + + + Follow + + + + )} + > ); } 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 ( - - - - - Username.eth - - - {property.address} - - - - PRICE - {property.price.toLocaleString("en-US", { style: "currency", currency: "USD" })} - - - TYPE - {property.type} - - - ZONING - Residential - - - + <> + {property && ( + + + + + Username.eth + + + {property.address} + + + + PRICE + {property.price.toLocaleString("en-US", { style: "currency", currency: "USD" })} + + + TYPE + {property.type} + + + ZONING + Residential + + + + )} + > ); }