Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Asha Padmashetti <asha.padmashetti@gmail.com>
  • Loading branch information
ashapadmashetti committed Nov 4, 2024
1 parent 3ee91fc commit ff5c0ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,8 @@ const KnowledgeInformation: React.FC<Props> = ({
{validOutline === ValidatedOptions.error && (
<HelperText>
<HelperTextItem icon={<ExclamationCircleIcon />} variant={validOutline}>
Required field and must be at least 40 characters. {40 - documentOutline.trim().length > 0 ? 40 - documentOutline.trim().length + 'more to go.' : ''}
Required field and must be at least 40 characters.{' '}
{40 - documentOutline.trim().length > 0 ? 40 - documentOutline.trim().length + 'more to go.' : ''}
</HelperTextItem>
</HelperText>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ const SkillsInformation: React.FC<Props> = ({
{validOutline === ValidatedOptions.error && (
<HelperText>
<HelperTextItem icon={<ExclamationCircleIcon />} variant={validOutline}>
Required field and must be at least 40 characters. {40 - documentOutline.trim().length > 0 ? 40 - documentOutline.trim().length + 'more to go.' : ''}
Required field and must be at least 40 characters.{' '}
{40 - documentOutline.trim().length > 0 ? 40 - documentOutline.trim().length + 'more to go.' : ''}
</HelperTextItem>
</HelperText>
)}
Expand Down

0 comments on commit ff5c0ca

Please sign in to comment.