Skip to content

Commit

Permalink
Add consideration guildance for all per components
Browse files Browse the repository at this point in the history
  • Loading branch information
barshathakuri committed Sep 13, 2024
1 parent 886317c commit bb55bed
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions app/src/views/PerAssessmentForm/AreaInput/ComponentInput/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -283,11 +283,7 @@ function ComponentInput(props: Props) {
withoutPadding
title={strings.epiConsiderationTitle}
description={(
<ul className={styles.description}>
<li>
<HtmlOutput value={value?.epi_considerations_guidance} />
</li>
</ul>
<HtmlOutput value={component?.epi_considerations_guidance} />
)}
>
<TextArea
Expand All @@ -305,7 +301,9 @@ function ComponentInput(props: Props) {
<InputSection
withoutPadding
title={strings.urbanConsiderationTitle}
description={value?.urban_considerations_guidance}
description={(
<HtmlOutput value={component?.urban_considerations_guidance} />
)}
>
<TextArea
name="urban_considerations"
Expand All @@ -323,11 +321,7 @@ function ComponentInput(props: Props) {
withoutPadding
title={strings.environmentConsiderationTitle}
description={(
<ul className={styles.description}>
<li>
{value?.climate_environmental_considerations_guidance}
</li>
</ul>
<HtmlOutput value={component?.climate_environmental_considerations_guidance} />

Check failure on line 324 in app/src/views/PerAssessmentForm/AreaInput/ComponentInput/index.tsx

View workflow job for this annotation

GitHub Actions / Lint JS

This line has a length of 103. Maximum allowed is 100
)}
>
<TextArea
Expand Down

0 comments on commit bb55bed

Please sign in to comment.