Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Akctarus committed Jul 5, 2024
1 parent 509d4b8 commit 93b760b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions front/src/applications/stdcmV2/components/StdcmVias.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const StdcmVias = ({ disabled = false, setCurrentSimulationInputs }: StdcmConfig
const { getPathSteps } = useOsrdConfSelectors();
const { deleteViaV2, updatePathSteps, updateViaStopTimeV2 } =
useOsrdConfActions() as StdcmConfSliceActions;
useOsrdConfActions() as StdcmConfSliceActions;
const pathSteps = useSelector(getPathSteps);

const intermediatePoints = useMemo(() => pathSteps.slice(1, -1), [pathSteps]);
Expand Down Expand Up @@ -57,7 +56,6 @@ const StdcmVias = ({ disabled = false, setCurrentSimulationInputs }: StdcmConfig
{intermediatePoints.length > 0 &&
intermediatePoints.map((pathStep, index) => {
const pathStepId = index + 1;

return (
<StdcmCard
key={pathStepId}
Expand Down

0 comments on commit 93b760b

Please sign in to comment.