fix: fix build error (#895)

This commit is contained in:
Ember
2025-11-11 15:36:12 +08:00
committed by GitHub
parent df618f39f6
commit e1f48e4d9b

View File

@@ -1864,7 +1864,9 @@ function ExchangeConfigModal({
} catch (err) {
console.error('复制失败:', err)
// 显示错误提示
toast.error(t('copyIPFailed', language) || `复制失败: ${ip}\n请手动复制此IP地址`)
toast.error(
t('copyIPFailed', language) || `复制失败: ${ip}\n请手动复制此IP地址`
)
}
}
@@ -2510,7 +2512,10 @@ function ExchangeConfigModal({
</div>
)}
</div>
<div className="text-xs mt-1" style={{ color: '#848E9C' }}>
<div
className="text-xs mt-1"
style={{ color: '#848E9C' }}
>
{t('hyperliquidAgentPrivateKeyDesc', language)}
</div>
</div>
@@ -2526,7 +2531,9 @@ function ExchangeConfigModal({
<input
type="text"
value={hyperliquidWalletAddr}
onChange={(e) => setHyperliquidWalletAddr(e.target.value)}
onChange={(e) =>
setHyperliquidWalletAddr(e.target.value)
}
placeholder={t(
'enterHyperliquidMainWalletAddress',
language
@@ -2539,7 +2546,10 @@ function ExchangeConfigModal({
}}
required
/>
<div className="text-xs mt-1" style={{ color: '#848E9C' }}>
<div
className="text-xs mt-1"
style={{ color: '#848E9C' }}
>
{t('hyperliquidMainWalletAddressDesc', language)}
</div>
</div>
@@ -2668,7 +2678,6 @@ function ExchangeConfigModal({
)}
</div>
</div>
</div>
<div
className="p-4 rounded"
@@ -2700,6 +2709,8 @@ function ExchangeConfigModal({
</div>
</>
)}
</>
)}
</div>
<div