Skip to content

Commit bff9a0a

Browse files
committed
treat contact link as a proper link
1 parent 2c5b0f2 commit bff9a0a

File tree

1 file changed

+1
-2
lines changed
  • src/components/CardAboutShelter/components/InfoRow

1 file changed

+1
-2
lines changed

src/components/CardAboutShelter/components/InfoRow/InfoRow.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ const InfoRow = React.forwardRef<HTMLDivElement, IInfoRowProps>(
99
const ValueComp = !value ? (
1010
<Fragment />
1111
) : isLink ? (
12-
<a
12+
<a href={`${value}`} target='_blank'
1313
className="text-blue-500 break-all cursor-pointer hover:underline"
14-
onClick={() => window.open(value, '_blank')}
1514
>
1615
{value}
1716
</a>

0 commit comments

Comments
 (0)