diff --git a/README.md b/README.md index 1e852fe2..f050d609 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ on its own, run `yarn frontend-dev` or `yarn backend-dev`. - **Jessica Han** - Developer - **Grace Sawatyanon** - Developer - **Miranda Luo** - Developer +- **Kea-Roy Ong** - Developer ### 2022-2023 diff --git a/frontend/src/components/Review/Review.tsx b/frontend/src/components/Review/Review.tsx index 796cd619..5e9b6785 100644 --- a/frontend/src/components/Review/Review.tsx +++ b/frontend/src/components/Review/Review.tsx @@ -189,22 +189,25 @@ const ReviewComponent = ({ return ( showLabel && ( <> - - {apt.length > 0 ? 'Property: ' : 'Landlord: '} - 0 ? `/apartment/${review.aptId}` : `/landlord/${review.landlordId}`, style: { - color: 'black', - textDecoration: 'underline', - paddingBottom: '3px', + textDecoration: 'none', + display: 'inline-block', + width: '100%', + paddingLeft: '3px', }, component: RouterLink, }} onClick={handleLinkClick} > - {apt.length > 0 ? apt[0].name : landlordData ? landlordData.name : ''} + )