Skip to content

Commit

Permalink
add return statement
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveShengStar committed Apr 1, 2023
1 parent fc8a28a commit 55d0051
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export const validateFields = (formValues, sectionMetadataByName) => {
}
if (sectionMetadataByName[sectionName].name == 'fullName') {
validationResult[sectionName] = validateName(value);
return;
}

switch (dataType) {
Expand Down

0 comments on commit 55d0051

Please sign in to comment.