From b5425aed716449cdea3b4eacc62b439a630b42f5 Mon Sep 17 00:00:00 2001 From: Clara Ni Date: Wed, 10 Jul 2024 18:21:32 +0200 Subject: [PATCH] fix typo --- front/src/modules/powerRestriction/helpers/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/modules/powerRestriction/helpers/utils.ts b/front/src/modules/powerRestriction/helpers/utils.ts index 16e1d055c6f..15035e91f0f 100644 --- a/front/src/modules/powerRestriction/helpers/utils.ts +++ b/front/src/modules/powerRestriction/helpers/utils.ts @@ -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));