- {networkList[locale][newWorkType].map((item, i) => (
-
changeChain(item.chainId)}
- key={i}
- style={{
- width: '100%',
- padding: '16px 12px',
- boxSizing: 'border-box',
- border: '1px solid #eee',
- borderRadius: '10px',
- marginTop: '12px',
- background: chain.id == item.chainId || isHover == i ? '#000' : '#fff',
- color: chain.id == item.chainId || isHover == i ? '#fff' : '#000',
- cursor: 'pointer',
- }}
- onMouseEnter={() => handleMouseEnter(i)}
- onMouseLeave={handleMouseLeave}
- >
-
{item.name}
-
{item.desc}
-