From 8455cd27fbfecd06cd5c88df568e8a599e598afd Mon Sep 17 00:00:00 2001 From: pranalidhanavade Date: Tue, 10 Oct 2023 21:32:34 +0530 Subject: [PATCH] feat:edit-ecosystem-modal Signed-off-by: pranalidhanavade --- src/components/EditEcosystemOrgModal/index.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/EditEcosystemOrgModal/index.tsx b/src/components/EditEcosystemOrgModal/index.tsx index adf9401df..36f528393 100644 --- a/src/components/EditEcosystemOrgModal/index.tsx +++ b/src/components/EditEcosystemOrgModal/index.tsx @@ -178,7 +178,7 @@ const EditPopupModal = (props: EditEntityModalProps) => { } else { const response = await updateEcosystem(entityData); const { data } = response as AxiosResponse; - console.log('data::', data); + if (data?.statusCode === apiStatusCodes.API_STATUS_SUCCESS) { if (props?.onEditSuccess) { props?.onEditSuccess(); @@ -193,8 +193,6 @@ const EditPopupModal = (props: EditEntityModalProps) => { setLoading(false); } }; - console.log(6566, initialEntityData) - return ( { setLogoImage({