tradeship
tradeship copied to clipboard
Nullish Coalescing and Optional Chaining Operator
tradeship: Unexpected token (169:67)
167 | <SelectControl
168 | name={name}
> 169 | label={`side for ${values.maplist[index]?.label}`}
| ^
170 | options={mapSides}
171 | team={values.team1.value ?? 'Team 1'}
172 | />
tradeship: Unexpected token (169:67)
167 | <SelectControl
168 | name={name}
> 169 | label={`side for ${values.maplist[index]?.label}`}
| ^
170 | options={mapSides}
171 | team={values.team1.value ?? 'Team 1'}
172 | />
tradeship: Unexpected token (171:52)
169 | label={`side for ${values.maplist[index].label}`}
170 | options={mapSides}
> 171 | team={values.team1.value ?? 'Team 1'}
| ^
172 | />
173 | </div>
174 | ))}
@exdeniz I appreciate the report! I'd be happy to review a PR here if you're interested in contributing.
@karthikv I looked at the code, you need to migrate to babel@7 and that will pull a lot of changes. Maybe I'll try to do that in my more spare time.