Skip to content

Commit a2e4b32

Browse files
Follow-up fix for proptypes
1 parent 4dcf89d commit a2e4b32

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/react/src/components/InitialClaimFlow/ClaimForm/Steps/EligibilityStep/EligibilityStep.jsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,6 @@ const EligibilityStep = ({
165165
EligibilityStep.defaultProps = {
166166
userEmail: null,
167167
organizationName: null,
168-
errors: {},
169-
touched: {},
170168
};
171169

172170
EligibilityStep.propTypes = {
@@ -176,10 +174,10 @@ EligibilityStep.propTypes = {
176174
handleBlur: func.isRequired,
177175
errors: shape({
178176
relationship: oneOfType([string, object]),
179-
}),
177+
}).isRequired,
180178
touched: shape({
181179
relationship: bool,
182-
}),
180+
}).isRequired,
183181
userEmail: string,
184182
organizationName: string,
185183
};

0 commit comments

Comments
 (0)