Skip to content

Commit

Permalink
Merge pull request #205 from vishnoianil/knowledge-fixes
Browse files Browse the repository at this point in the history
Remove redundant title description from individual seed example
  • Loading branch information
vishnoianil authored Sep 25, 2024
2 parents 34bf190 + f6a8cc9 commit 1e85ddd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const KnowledgeSeedExample: React.FC<Props> = ({
),
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."
/>
}
>
Expand All @@ -50,12 +50,12 @@ const KnowledgeSeedExample: React.FC<Props> = ({
titleText={{
text: (
<p>
Knowledge Seed Example {seedExampleIndex + 1} {seedExample.immutable && <span style={{ color: 'red' }}>*</span>}
Seed Example {seedExampleIndex + 1} {seedExample.immutable && <span style={{ color: 'red' }}>*</span>}
</p>
),
id: 'nested-field-group1-titleText-id'
}}
titleDescription="Please enter context and at least 3 Q&A pairs for the seed example."
titleDescription=""
/>
}
>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Contribute/Knowledge/Submit/Submit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const Submit: React.FC<Props> = ({ disableAction, knowledgeFormData, setActionGr
};
return (
<Button variant="primary" type="submit" isDisabled={disableAction} onClick={handleSubmit}>
Submit Knowledge
Submit
</Button>
);
};
Expand Down

0 comments on commit 1e85ddd

Please sign in to comment.