tradeship icon indicating copy to clipboard operation
tradeship copied to clipboard

Nullish Coalescing and Optional Chaining Operator

Open exdeniz opened this issue 3 years ago • 2 comments

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 avatar May 24 '21 18:05 exdeniz

@exdeniz I appreciate the report! I'd be happy to review a PR here if you're interested in contributing.

karthikv avatar Jun 07 '21 19:06 karthikv

@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.

exdeniz avatar Jun 08 '21 07:06 exdeniz