mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix missing key in combat display.
This commit is contained in:
@@ -29,9 +29,10 @@ function CombatLines(props: CombatProps) {
|
||||
const flightPosition: LatLng = props.combat.flight_position;
|
||||
return (
|
||||
<>
|
||||
{props.combat.target_positions.map((position) => {
|
||||
{props.combat.target_positions.map((position, idx) => {
|
||||
return (
|
||||
<Polyline
|
||||
key={idx}
|
||||
positions={[flightPosition, position]}
|
||||
color="#c85050"
|
||||
interactive={false}
|
||||
|
||||
Reference in New Issue
Block a user