From b09c4d6be559aa5e188d0ef1cfe4c24a32b271b5 Mon Sep 17 00:00:00 2001 From: Daniel Hougaard Date: Tue, 23 Sep 2025 23:18:46 +0400 Subject: [PATCH] Update SecretItem.tsx --- .../components/SecretListView/SecretItem.tsx | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/frontend/src/pages/secret-manager/SecretDashboardPage/components/SecretListView/SecretItem.tsx b/frontend/src/pages/secret-manager/SecretDashboardPage/components/SecretListView/SecretItem.tsx index f9b18422a..4f64d950d 100644 --- a/frontend/src/pages/secret-manager/SecretDashboardPage/components/SecretListView/SecretItem.tsx +++ b/frontend/src/pages/secret-manager/SecretDashboardPage/components/SecretListView/SecretItem.tsx @@ -487,29 +487,6 @@ export const SecretItem = memo( placeholder={error?.message} isError={Boolean(error)} onKeyUp={() => trigger("key")} - warning={ - field.value?.includes(" ") ? ( - - Secret key contains whitespaces. -
-
If this is the desired format, you need to provide it as{" "} - - {encodeURIComponent(field.value.trim())} - {" "} - when making API requests. - - } - > - -
- ) : undefined - } {...field} className="w-full px-0 placeholder:text-red-500 focus:text-bunker-100 focus:ring-transparent" />