Skip to content

Commit

Permalink
Merge pull request #12834 from transcom/B-19573-main-1-ppm-est-weight…
Browse files Browse the repository at this point in the history
…-review-message-change

B 19573 ppm est weight review message confusing
  • Loading branch information
deandreJones authored May 31, 2024
2 parents cad11a3 + 201e789 commit cc5767a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/components/Office/ShipmentWeight/ShipmentWeight.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,12 @@ import SectionWrapper from 'components/Customer/SectionWrapper';

const ShipmentWeight = () => {
const [proGearInput, , hasProGearHelper] = useField('hasProGear');
const [, , estimatedWeightHelper] = useField('estimatedWeight');

const hasProGear = proGearInput.value === true;

const handleProGear = (event) => {
hasProGearHelper.setValue(event.target.value === 'yes');
};
const handleEstimatedWeight = (event) => {
estimatedWeightHelper.setValue(event.target.value);
};

return (
<SectionWrapper className={formStyles.formSection}>
Expand All @@ -37,7 +33,6 @@ const ShipmentWeight = () => {
thousandsSeparator=","
lazy={false} // immediate masking evaluation
suffix="lbs"
onChange={handleEstimatedWeight}
/>
<Label className={styles.Label}>Pro-gear?</Label>
<FormGroup>
Expand Down

0 comments on commit cc5767a

Please sign in to comment.