mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Fix display of control points.
Apparently redux state objects *must* be objects.
This commit is contained in:
@@ -7,7 +7,7 @@ export default function ControlPointsLayer() {
|
||||
const controlPoints = useAppSelector(selectControlPoints);
|
||||
return (
|
||||
<LayerGroup>
|
||||
{controlPoints.map((controlPoint) => {
|
||||
{controlPoints.controlPoints.map((controlPoint) => {
|
||||
return (
|
||||
<ControlPoint key={controlPoint.name} controlPoint={controlPoint} />
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user