From 6fc1937d33cd9ad08ef53c562a02798ddb002782 Mon Sep 17 00:00:00 2001 From: yuneng-jiang Date: Mon, 23 Mar 2026 21:55:34 -0700 Subject: [PATCH] Use antd Text type="success" instead of hardcoded color Replace inline color "#52c41a" with antd's native for the new expiry message. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../src/components/organisms/regenerate_key_modal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/litellm-dashboard/src/components/organisms/regenerate_key_modal.tsx b/ui/litellm-dashboard/src/components/organisms/regenerate_key_modal.tsx index 2902c792d5e..9894da7e003 100644 --- a/ui/litellm-dashboard/src/components/organisms/regenerate_key_modal.tsx +++ b/ui/litellm-dashboard/src/components/organisms/regenerate_key_modal.tsx @@ -225,7 +225,7 @@ export function RegenerateKeyModal({ selectedToken, visible, onClose, onKeyUpdat Current expiry: {selectedToken?.expires ? new Date(selectedToken.expires).toLocaleString() : "Never"} {newExpiryTime && ( -
New expiry: {newExpiryTime}
+ New expiry: {newExpiryTime} )}