Initial commit v1.1

This commit is contained in:
Rolf
2026-03-18 13:34:41 +01:00
parent cb04bf2ab8
commit b982584244
38 changed files with 3196 additions and 1103 deletions
+5 -5
View File
@@ -83,13 +83,13 @@ export default function NewCoursePage() {
tees: tees.map((t) => ({
name: t.name,
color: t.color,
course_rating: parseFloat(t.course_rating),
slope_rating: parseInt(t.slope_rating),
courseRating: parseFloat(t.course_rating),
slopeRating: parseInt(t.slope_rating),
})),
holes: holes.slice(0, holesCount).map((h) => ({
hole_number: h.hole_number,
par: h.par,
stroke_index: h.stroke_index,
holeNumber: h.hole_number,
par: h.par,
strokeIndex: h.stroke_index,
})),
})