Co-authored-by: renee-png <262607627+renee-png@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot]
2026-04-19 00:34:43 +00:00
co-authored by renee-png
parent cc3aa5845a
commit 30d1b9cc84
+1 -1
View File
@@ -757,7 +757,7 @@ function ImportPage() {
errors.push(`Batch ${i / chunkSize + 1} (lookup): ${lookupError.message}`);
} else {
const existingByExternalId = new Map(
((existing ?? []) as Array<{ id: string; external_id: string | null }>).map(
((existing ?? []) as unknown as Array<{ id: string; external_id: string | null }>).map(
(entry) => [entry.external_id, entry.id] as [string | null, string],
),
);