Skip to content
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.

Commit

Permalink
Fix Unsafe link
Browse files Browse the repository at this point in the history
  • Loading branch information
ansulagrawal committed May 7, 2023
1 parent a4fe4f0 commit b23ecae
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/pages/CountryDetail.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,11 @@ function CountryDetail() {
Independent: <span className='font-light'>{independent ? 'Self Governing' : 'Non Self Governing'}</span>
</h6>
<h6 className='font-semiBold text-[18px] mt-2'>
<a className='font-light px-[25px] py-[10px] bg-color-component shadow-md rounded-md' href={maps?.googleMaps} target='_blank'>
View on map
</a>
{maps?.googleMaps && (
<a className='font-light px-[25px] py-[10px] bg-color-component shadow-md rounded-md' href={maps.googleMaps} target='_blank'>
View on map
</a>
)}
</h6>
</div>
</div>
Expand Down

1 comment on commit b23ecae

@vercel
Copy link

@vercel vercel bot commented on b23ecae May 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.