mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 07:31:12 -05:00
feat: Implement strict type enforcement
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user