Skip to content

Commit

Permalink
trimmed trailing spaces #119
Browse files Browse the repository at this point in the history
  • Loading branch information
Murali Suresh committed Jan 27, 2017
1 parent a80d77e commit 0fb5307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reactJS/app/components/RegisterComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class RegisterComponent extends Component {
sortedDates[j] = formattedEnteredDates[intermediateSortedDates[j]];
}

this.props.dispatch(registerEvent(this.props.name, this.props.purpose, sortedDates, this.props.location));
this.props.dispatch(registerEvent(this.props.name.trim(), this.props.purpose.trim(), sortedDates, this.props.location));
}

validateRegisterEvent() {
Expand Down

0 comments on commit 0fb5307

Please sign in to comment.