Skip to content

Commit

Permalink
fix: projectSpecificSequestrationRate unit + defaul value
Browse files Browse the repository at this point in the history
  • Loading branch information
atrincas authored and agnlez committed Feb 5, 2025
1 parent b32eb9a commit 2dcadaa
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -249,18 +249,20 @@ export default function RestorationProjectDetails() {
title: SEQUESTRATION_RATE_TIER_TYPES.TIER_3,
content: "TBD",
}}
className="pr-28"
formItemClassName="basis-1/2"
formControlClassName="after:content-['%']"
formControlClassName="after:content-['tCO2e/ha/yr']"
initialValue={
DEFAULT_FORM_VALUES.projectSpecificSequestrationRate
form.getValues(
"parameters.projectSpecificSequestrationRate",
) ?? DEFAULT_FORM_VALUES.projectSpecificSequestrationRate
}
onValueChange={async (v) =>
handleFormChange(
"parameters.projectSpecificSequestrationRate",
v,
)
}
isPercentage
/>
)}
/>
Expand Down

0 comments on commit 2dcadaa

Please sign in to comment.