style: fix linting issues met Prettier

This commit is contained in:
Lint Action 2025-03-11 10:59:55 +00:00
parent dd21f46162
commit 06bc1cb8bf
7 changed files with 60 additions and 72 deletions

View file

@ -36,6 +36,6 @@ export function isTransitionPossible(transition: LearningPathTransition, submitt
if (submitted === null) {
return false; // If the transition is not unconditional and there was no submission, the transition is not possible.
}
const match = JSONPath({ path: transition.condition, json: {submission: submitted} })
const match = JSONPath({ path: transition.condition, json: { submission: submitted } });
return match.length === 1;
}