Skip to content

Commit 8e666be

Browse files
committed
front: unexport matchPathStepAndOp()
Everybody uses pathStepId now. Signed-off-by: Simon Ser <[email protected]>
1 parent 00a007f commit 8e666be

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

front/src/modules/pathfinding/utils.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ import { getPointOnTrackCoordinates } from 'utils/geometry';
1616

1717
import getStepLocation from './helpers/getStepLocation';
1818

19-
export const matchPathStepAndOp = (
20-
step: PathItemLocation,
21-
op: Pick<SuggestedOP, 'opId' | 'uic' | 'ch' | 'trigram' | 'track' | 'offsetOnTrack'>
22-
) => {
19+
const matchPathStepAndOp = (step: PathItemLocation, op: SuggestedOP) => {
2320
if ('operational_point' in step) {
2421
return step.operational_point === op.opId;
2522
}

0 commit comments

Comments
 (0)