Skip to content

Commit 6d8d7ef

Browse files
author
Dharmik79
committed
added the selector approach to resolve the svg tag issue
1 parent 8ffd25a commit 6d8d7ef

File tree

1 file changed

+1
-2
lines changed
  • src/components/FindWallet/WalletTable

1 file changed

+1
-2
lines changed

src/components/FindWallet/WalletTable/index.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,7 @@ const WalletTable = ({
334334
}}
335335
onClick={(e) => {
336336
if (
337-
(e.target as HTMLTableRowElement).tagName === "A" ||
338-
(e.target as HTMLTableRowElement).tagName === "svg"
337+
(e.target as HTMLElement).matches("a, a svg")
339338
)
340339
return
341340
showMoreInfo(wallet)

0 commit comments

Comments
 (0)