Skip to content

Commit

Permalink
fix: <a> inside <Link> in react-wallet-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
dianasavvatina committed Sep 23, 2024
1 parent a805cad commit d631262
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,8 @@ export default function PairingCard({ logo, name, url, topic, onDelete }: IProps
<Text h5 css={{ marginLeft: '$9' }} data-testid={'pairing-text-' + topic}>
{name}
</Text>
<Link href={url} css={{ marginLeft: '$9' }}>
<a data-testid={'pairing-text-' + topic}>
<Link href={url} css={{ marginLeft: '$9' }} data-testid={'pairing-text-' + topic}>
{truncate(url?.split('https://')[1] ?? 'Unknown', 23)}
</a>
</Link>
</div>
<Tooltip content="Delete" placement="left">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,8 @@ export default function SessionCard({ logo, name, url, topic }: IProps) {
<Text h5 css={{ marginLeft: '$9' }} data-testid={`session-text`}>
{name}
</Text>
<Link href={url} css={{ marginLeft: '$9' }}>
<a data-testid={`session-link`}>
<Link href={url} css={{ marginLeft: '$9' }} data-testid={`session-link`}>
{truncate(url?.split('https://')[1] ?? 'Unknown', 23)}
</a>
</Link>
</div>

Expand Down

0 comments on commit d631262

Please sign in to comment.