Skip to content

Commit 0402af1

Browse files
authored
chore: move comment
1 parent 6d8d7ef commit 0402af1

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
@@ -310,8 +310,6 @@ const WalletTable = ({
310310
)
311311

312312
const showMoreInfo = (wallet) => {
313-
// Prevent expanding the wallet more info section when clicking on the "Visit website" button
314-
315313
updateMoreInfo(wallet.key)
316314
// Log "more info" event only on expanding
317315
wallet.moreInfo &&
@@ -333,6 +331,7 @@ const WalletTable = ({
333331
if (e.key === "Enter") showMoreInfo(wallet)
334332
}}
335333
onClick={(e) => {
334+
// Prevent expanding the wallet more info section when clicking on the "Visit website" button
336335
if (
337336
(e.target as HTMLElement).matches("a, a svg")
338337
)

0 commit comments

Comments
 (0)