feat: Implement strict type enforcement

This commit is contained in:
gpt-engineer-app[bot]
2025-10-16 13:56:32 +00:00
parent 95679c1067
commit 3bcd9e03fa
10 changed files with 379 additions and 80 deletions

View File

@@ -229,8 +229,8 @@ export function RideForm({ onSubmit, onCancel, initialData, isEditing = false }:
_tempNewRideModel: tempNewRideModel
};
// Pass clean data to parent
await onSubmit(metricData as any);
// Pass clean data to parent with extended fields
await onSubmit(metricData);
toast({
title: isEditing ? "Ride Updated" : "Submission Sent",