mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
refactor(react-doctor): raise score from 79 to 90
This commit is contained in:
@@ -168,8 +168,8 @@ const CryptoWalletsForm = ({ account }: { account: Account | undefined }) => {
|
||||
<div className={styles.addWallet}>
|
||||
<select onChange={(e) => setSelectedWallet(Number(e.target.value))} value={selectedWallet}>
|
||||
{walletsArray.length === 0 && <option>{t('none')}</option>}
|
||||
{walletsArray.map((_, index) => (
|
||||
<option key={index} value={index}>
|
||||
{walletsArray.map((wallet, index) => (
|
||||
<option key={wallet.address || (wallet.chainTicker ? `${wallet.chainTicker}-${index}` : `wallet-${index}`)} value={index}>
|
||||
{t('wallet')} #{index + 1}
|
||||
</option>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user