Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
seeratsekhon committed Jul 21, 2018
1 parent 7f8be65 commit 5c7de7e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/components/WelcomeModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ class WelcomeModal extends React.Component {
componentWillMount() {
if (listOfCountries.length === 0) {
Object.keys(countries).forEach((key) => {
listOfCountries.push(<option value={countries[key]} key={key}>{countries[key]} {key.toUpperCase().replace(/./g, char => String.fromCodePoint(char.charCodeAt(0)+127397) )}</option>);
listOfCountries.push(<option value={countries[key]} key={key}>{countries[key]}
{key.toUpperCase().replace(/./g, char => String.fromCodePoint(char.charCodeAt(0) + 127397))}
</option>);
});
}
}
Expand Down

0 comments on commit 5c7de7e

Please sign in to comment.