mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-22 00:31:44 +00:00
Use antd Text type="success" instead of hardcoded color
Replace inline color "#52c41a" with antd's native <Text type="success"> for the new expiry message. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
33cb594f05
commit
6fc1937d33
1 changed files with 1 additions and 1 deletions
|
|
@ -225,7 +225,7 @@ export function RegenerateKeyModal({ selectedToken, visible, onClose, onKeyUpdat
|
|||
Current expiry: {selectedToken?.expires ? new Date(selectedToken.expires).toLocaleString() : "Never"}
|
||||
</Text>
|
||||
{newExpiryTime && (
|
||||
<div style={{ marginTop: 8, fontSize: 12, color: "#52c41a" }}>New expiry: {newExpiryTime}</div>
|
||||
<Text type="success" style={{ marginTop: 8, fontSize: 12, display: "block" }}>New expiry: {newExpiryTime}</Text>
|
||||
)}
|
||||
<Form.Item
|
||||
name="grace_period"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue