From 7b858588f0a4a01acb7e582f3a3249ee8cc8f294 Mon Sep 17 00:00:00 2001 From: Aditya Date: Sat, 1 Feb 2025 10:43:19 +0530 Subject: [PATCH] fix: update type annotation for loading state in NlpTrainForm component --- .../components/nlp/components/NlpTrainForm.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/frontend/src/components/nlp/components/NlpTrainForm.tsx b/frontend/src/components/nlp/components/NlpTrainForm.tsx index 1ada8736..7ac321d4 100644 --- a/frontend/src/components/nlp/components/NlpTrainForm.tsx +++ b/frontend/src/components/nlp/components/NlpTrainForm.tsx @@ -1,11 +1,11 @@ -/* - * Copyright © 2025 Hexastack. All rights reserved. - * - * Licensed under the GNU Affero General Public License v3.0 (AGPLv3) with the following additional terms: - * 1. The name "Hexabot" is a trademark of Hexastack. You may not use this name in derivative works without express written permission. - * 2. All derivative works must include clear attribution to the original creator and software, Hexastack and Hexabot, in a prominent location (e.g., in the software's "About" section, documentation, and README file). - */ - +/* + * Copyright © 2025 Hexastack. All rights reserved. + * + * Licensed under the GNU Affero General Public License v3.0 (AGPLv3) with the following additional terms: + * 1. The name "Hexabot" is a trademark of Hexastack. You may not use this name in derivative works without express written permission. + * 2. All derivative works must include clear attribution to the original creator and software, Hexastack and Hexabot, in a prominent location (e.g., in the software's "About" section, documentation, and README file). + */ + import AddIcon from "@mui/icons-material/Add"; @@ -67,7 +67,7 @@ const NlpDatasetSample: FC = ({ hasCount: false, }, ); - const [loading, setLoading] = useState(false); + const [loading, setLoading] = useState(false); const getNlpValueFromCache = useGetFromCache(EntityType.NLP_VALUE); // eslint-disable-next-line react-hooks/exhaustive-deps const defaultValues: INlpSampleFormAttributes = useMemo(