Prettify code

This commit is contained in:
Yuya Ochiai
2016-06-18 20:40:12 +09:00
parent 3650967f4c
commit b91e44a5fe

View File

@@ -255,7 +255,7 @@ var TeamList = React.createClass({
var teams = this.props.teams; var teams = this.props.teams;
// check if team already exists and then change existing team or add new one // check if team already exists and then change existing team or add new one
if ((team.index!==undefined) && teams[team.index]) { if ((team.index !== undefined) && teams[team.index]) {
teams[team.index].name = team.name; teams[team.index].name = team.name;
teams[team.index].url = team.url; teams[team.index].url = team.url;
} else { } else {