From f6a8cc92940b48fe23c1aa03a4656dd6129321a6 Mon Sep 17 00:00:00 2001 From: Anil Vishnoi Date: Wed, 25 Sep 2024 12:13:11 -0700 Subject: [PATCH] Remove redundant title description from individual seed example Signed-off-by: Anil Vishnoi --- .../Knowledge/KnowledgeSeedExample/KnowledgeSeedExample.tsx | 6 +++--- src/components/Contribute/Knowledge/Submit/Submit.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Contribute/Knowledge/KnowledgeSeedExample/KnowledgeSeedExample.tsx b/src/components/Contribute/Knowledge/KnowledgeSeedExample/KnowledgeSeedExample.tsx index 541ee91..437e0ae 100644 --- a/src/components/Contribute/Knowledge/KnowledgeSeedExample/KnowledgeSeedExample.tsx +++ b/src/components/Contribute/Knowledge/KnowledgeSeedExample/KnowledgeSeedExample.tsx @@ -36,7 +36,7 @@ const KnowledgeSeedExample: React.FC = ({ ), id: 'seed-examples-id' }} - titleDescription="Add seed examples with context and Q&A pairs. Minimum 5 seed examples are required." + titleDescription="Add seed examples with context and minimum 3 question and answer pairs. Minimum 5 seed examples are required." /> } > @@ -50,12 +50,12 @@ const KnowledgeSeedExample: React.FC = ({ titleText={{ text: (

- Knowledge Seed Example {seedExampleIndex + 1} {seedExample.immutable && *} + Seed Example {seedExampleIndex + 1} {seedExample.immutable && *}

), id: 'nested-field-group1-titleText-id' }} - titleDescription="Please enter context and at least 3 Q&A pairs for the seed example." + titleDescription="" /> } > diff --git a/src/components/Contribute/Knowledge/Submit/Submit.tsx b/src/components/Contribute/Knowledge/Submit/Submit.tsx index c39f545..d0c24ba 100644 --- a/src/components/Contribute/Knowledge/Submit/Submit.tsx +++ b/src/components/Contribute/Knowledge/Submit/Submit.tsx @@ -105,7 +105,7 @@ const Submit: React.FC = ({ disableAction, knowledgeFormData, setActionGr }; return ( ); };