Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
clarani committed Jul 10, 2024
1 parent 92c4baa commit b5425ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/src/modules/powerRestriction/helpers/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { mToMm } from 'utils/physics';

import createPathStep from './createPathStep';

/** Get PathStep located at the given position on path (in meters), if it exists. */
/** Get pathStep located at the given position on path (in meters), if it exists. */
export const getPathStep = (pathSteps: PathStep[], positionInM: number) =>
pathSteps.find((step) => step.positionOnPath === mToMm(positionInM));

Expand Down

0 comments on commit b5425ae

Please sign in to comment.