Skip to content

Commit

Permalink
fix: use the correct entity name in the descriptions for creating gro…
Browse files Browse the repository at this point in the history
…ups (#3276)
  • Loading branch information
lorenzo-cavazzi authored Aug 30, 2024
1 parent 081a03c commit 6263d94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export default function DescriptionFormField<T extends FieldValues>({
rules={{ maxLength: 500, required: false }}
/>
<FormText id={`${entityName}DescriptionHelp`} className="input-hint">
A brief (at most 500 character) description of the project.
A brief (at most 500 character) description of the {entityName}.
</FormText>
<div className="invalid-feedback">Please provide a description</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion client/src/features/projectsV2/fields/SlugFormField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default function SlugFormField<T extends FieldValues>({
hyphens.
</div>
<FormText id={`${entityName}SlugHelp`} className="input-hint">
A short, machine-readable identifier for the project, restricted to
A short, machine-readable identifier for the {entityName}, restricted to
lowercase letters, numbers, and hyphens.{" "}
{entityName === "project" && (
<b>Cannot be changed after project creation.</b>
Expand Down

0 comments on commit 6263d94

Please sign in to comment.