From b860e35408bddb689f57978a2fd400543e2aa4f9 Mon Sep 17 00:00:00 2001 From: Pablo Lara Date: Tue, 24 Sep 2024 11:43:51 +0200 Subject: [PATCH] feat: fuctionality tweaks handling errors --- components/providers/forms/EditForm.tsx | 29 ++++++++++++++--------- components/ui/custom/CustomAlertModal.tsx | 4 ++-- components/ui/custom/CustomInput.tsx | 12 ++++++++-- 3 files changed, 30 insertions(+), 15 deletions(-) diff --git a/components/providers/forms/EditForm.tsx b/components/providers/forms/EditForm.tsx index 2b82b7116d..8479aeeabb 100644 --- a/components/providers/forms/EditForm.tsx +++ b/components/providers/forms/EditForm.tsx @@ -57,26 +57,33 @@ export const EditForm = ({ title: "Success!", description: "The provider was updated successfully.", }); + setIsOpen(false); // Close the modal on success } }; return (
+
+ Current alias: {providerAlias} +
+
+ +
-
Current alias: {providerAlias}
- -