Add VARIANT_DIFFICULTY constant to ExerciseFormPageRoot component
All checks were successful
Deploy Development / deploy (push) Successful in 40s
Test Suite / pytest-backend (push) Successful in 37s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 12s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Successful in 1m15s
All checks were successful
Deploy Development / deploy (push) Successful in 40s
Test Suite / pytest-backend (push) Successful in 37s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 12s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Successful in 1m15s
- Introduced a new constant, VARIANT_DIFFICULTY, to define difficulty options for exercises. - Improved code organization by separating the import statements for better readability.
This commit is contained in:
parent
1d698e4b0a
commit
5d308b20ba
|
|
@ -43,7 +43,9 @@ import {
|
|||
EXERCISE_SKILL_INTENSITY_DEFAULT,
|
||||
EXERCISE_SKILL_INTENSITY_OPTIONS,
|
||||
normalizeExerciseSkillIntensity,
|
||||
} from '../../constants/exerciseSkillIntensity' = [
|
||||
} from '../../constants/exerciseSkillIntensity'
|
||||
|
||||
const VARIANT_DIFFICULTY = [
|
||||
{ value: '', label: '—' },
|
||||
{ value: 'easier', label: 'Einfacher' },
|
||||
{ value: 'same', label: 'Gleich' },
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user