Skip to content

Commit

Permalink
fixup! front: select op with map when add train
Browse files Browse the repository at this point in the history
  • Loading branch information
theocrsb committed Jan 7, 2025
1 parent 56ed5de commit decde3b
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,7 @@ const Map = ({

const [mapIsLoaded, setMapIsLoaded] = useState(false);

const [hoveredOperationalPointId, setHoveredOperationalPointId] = useState<string | undefined>(
undefined
);
const [hoveredOperationalPointId, setHoveredOperationalPointId] = useState<string>();
const [snappedPoint, setSnappedPoint] = useState<Feature<Point> | undefined>();
const { urlLat = '', urlLon = '', urlZoom = '', urlBearing = '', urlPitch = '' } = useParams();
const dispatch = useAppDispatch();
Expand Down

0 comments on commit decde3b

Please sign in to comment.