mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-18 01:44:38 +08:00
fix: fix build error (#895)
This commit is contained in:
@@ -1864,7 +1864,9 @@ function ExchangeConfigModal({
|
|||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.error('复制失败:', 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>
|
</div>
|
||||||
<div className="text-xs mt-1" style={{ color: '#848E9C' }}>
|
<div
|
||||||
|
className="text-xs mt-1"
|
||||||
|
style={{ color: '#848E9C' }}
|
||||||
|
>
|
||||||
{t('hyperliquidAgentPrivateKeyDesc', language)}
|
{t('hyperliquidAgentPrivateKeyDesc', language)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -2526,7 +2531,9 @@ function ExchangeConfigModal({
|
|||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
value={hyperliquidWalletAddr}
|
value={hyperliquidWalletAddr}
|
||||||
onChange={(e) => setHyperliquidWalletAddr(e.target.value)}
|
onChange={(e) =>
|
||||||
|
setHyperliquidWalletAddr(e.target.value)
|
||||||
|
}
|
||||||
placeholder={t(
|
placeholder={t(
|
||||||
'enterHyperliquidMainWalletAddress',
|
'enterHyperliquidMainWalletAddress',
|
||||||
language
|
language
|
||||||
@@ -2539,7 +2546,10 @@ function ExchangeConfigModal({
|
|||||||
}}
|
}}
|
||||||
required
|
required
|
||||||
/>
|
/>
|
||||||
<div className="text-xs mt-1" style={{ color: '#848E9C' }}>
|
<div
|
||||||
|
className="text-xs mt-1"
|
||||||
|
style={{ color: '#848E9C' }}
|
||||||
|
>
|
||||||
{t('hyperliquidMainWalletAddressDesc', language)}
|
{t('hyperliquidMainWalletAddressDesc', language)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -2668,7 +2678,6 @@ function ExchangeConfigModal({
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div
|
<div
|
||||||
className="p-4 rounded"
|
className="p-4 rounded"
|
||||||
@@ -2700,6 +2709,8 @@ function ExchangeConfigModal({
|
|||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
|
</>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
|
|||||||
Reference in New Issue
Block a user