mirror of
https://github.com/dcs-liberation/dcs_liberation.git
synced 2025-11-10 14:22:26 +00:00
Add missing keys to list components.
This commit is contained in:
@@ -33,9 +33,9 @@ export default function LiberationMap(props: GameProps) {
|
||||
<LayersControl.Overlay name="Control points" checked>
|
||||
<ControlPointsLayer />
|
||||
</LayersControl.Overlay>
|
||||
{Object.values(TgoType).map((type) => {
|
||||
{Object.values(TgoType).map((type, idx) => {
|
||||
return (
|
||||
<LayersControl.Overlay name={type} checked>
|
||||
<LayersControl.Overlay key={idx} name={type} checked>
|
||||
<TgosLayer type={type as TgoType} />
|
||||
</LayersControl.Overlay>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user