Initial commit v1.1
This commit is contained in:
@@ -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,
|
||||
})),
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user