Fix edge function console statements

This commit is contained in:
gpt-engineer-app[bot]
2025-11-03 19:16:06 +00:00
parent c0f468451f
commit ba6bb8a317
9 changed files with 78 additions and 76 deletions

View File

@@ -40,7 +40,7 @@ export function FormerNamesEditor({ names, onChange, currentName }: FormerNamesE
onChange(newNames.map((name, i) => ({ ...name, order_index: i })));
};
const updateName = (index: number, field: keyof FormerName, value: any) => {
const updateName = (index: number, field: keyof FormerName, value: string | number | Date | null | undefined) => {
const newNames = [...names];
newNames[index] = { ...newNames[index], [field]: value };
onChange(newNames);