From 42739a29cfe0385f20203e7a211837e8b6f44fa4 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Tue, 26 Mar 2024 21:52:23 +0200 Subject: [PATCH] Added types --- .../addNewVariableButton.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/frontend/src/components/addNewVariableButtonComponent/addNewVariableButton.tsx b/src/frontend/src/components/addNewVariableButtonComponent/addNewVariableButton.tsx index 2f0f3ec06..310115d90 100644 --- a/src/frontend/src/components/addNewVariableButtonComponent/addNewVariableButton.tsx +++ b/src/frontend/src/components/addNewVariableButtonComponent/addNewVariableButton.tsx @@ -70,16 +70,16 @@ export default function AddNewVariableButton({ children }): JSX.Element { }} placeholder="Insert a name for the variable..." > - {/* + { setType(e); }} selectedOption={type} password={false} - options={["OPENAI_API_KEY", "ANTHROPIC_API_KEY"]} - placeholder="Choose a type between the environment variables..." - > */} + options={["Variable", "Credential"]} + placeholder="Choose a type for the variable..." + >