diff --git a/src/components/join-flow/country-step.jsx b/src/components/join-flow/country-step.jsx index de1cfa8e5..a99f10506 100644 --- a/src/components/join-flow/country-step.jsx +++ b/src/components/join-flow/country-step.jsx @@ -95,6 +95,7 @@ class CountryStep extends React.Component { validate={this.validateSelect} validationClassName="validation-full-width-input" /> + {/* note that this is a hidden checkbox the user will never see */} { @@ -75,6 +77,9 @@ class JoinFlow extends React.Component { return; } if (body[0].errors) { + // body can include zero or more error objects, each + // with its own key and description. Here we assemble + // all of them into a single string, errStr. const errorKeys = Object.keys(body[0].errors); errorKeys.forEach(key => { const val = body[0].errors[key];