From 2263e8ce0000c9ec798699114cf7c53794ffccbe Mon Sep 17 00:00:00 2001 From: Krishav Raj Singh Date: Mon, 21 Jul 2025 22:33:23 +0530 Subject: [PATCH] remove whitespace --- frontend/src/components/env-manager/local-env-manager.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/env-manager/local-env-manager.tsx b/frontend/src/components/env-manager/local-env-manager.tsx index 26fe1a22..9cf6355f 100644 --- a/frontend/src/components/env-manager/local-env-manager.tsx +++ b/frontend/src/components/env-manager/local-env-manager.tsx @@ -42,7 +42,7 @@ export function LocalEnvManager() { } const submitData = { ...data, - ...Object.fromEntries(newApiKeys.map(entry => [entry.key, entry.value])) + ...Object.fromEntries(newApiKeys.map(entry => [entry.key.trim(), entry.value.trim()])) } updateApiKeys.mutate(submitData);