From e123b753e709fd3ad047b78e994b5ee6761e88f8 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Fri, 10 Nov 2023 18:32:54 -0300 Subject: [PATCH] fix(StoreApiKeyModal): remove unnecessary description about signing up for an API key fix(StoreApiKeyModal): remove the "Sign up" button and replace it with a text link to langflow.store fix(StoreApiKeyModal): change the position and styling of the text link to langflow.store fix(StoreApiKeyModal): change the "Cancel" button to be aligned with the "Save" button fix(StoreApiKeyModal): wrap the "Save" button in a Form.Submit component for better form handling --- .../src/modals/StoreApiKeyModal/index.tsx | 56 ++++++++++--------- 1 file changed, 30 insertions(+), 26 deletions(-) diff --git a/src/frontend/src/modals/StoreApiKeyModal/index.tsx b/src/frontend/src/modals/StoreApiKeyModal/index.tsx index 544e5391c..4a080ade3 100644 --- a/src/frontend/src/modals/StoreApiKeyModal/index.tsx +++ b/src/frontend/src/modals/StoreApiKeyModal/index.tsx @@ -67,11 +67,7 @@ export default function StoreApiKeyModal({ return ( {children} - + API Key
- - - { handleInput({ target: { name: "apikey", value } }); }} @@ -104,27 +96,39 @@ export default function StoreApiKeyModal({
-
- - - +
+ + Don’t have an API key? Sign up at{" "} + + langflow.store + + +
- + + + + +