Skip to content

Commit 388bb48

Browse files
authored
Update index.jsx
1 parent 89827c9 commit 388bb48

File tree

1 file changed

+1
-1
lines changed
  • src/shared/components/Settings/Profile/BasicInfo

1 file changed

+1
-1
lines changed

src/shared/components/Settings/Profile/BasicInfo/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export default class BasicInfo extends ConsentComponent {
126126
}
127127

128128
_.forEach(newBasicInfo.addresses, (address) => {
129-
if(!(/^[0-9\-]*$/.test(address.zip))) {
129+
if (!(/^[0-9-]*$/.test(address.zip))) {
130130
zipError = 'You must enter a valid zip code';
131131
zipInvalid = true;
132132
}

0 commit comments

Comments
 (0)