From 01dd9fda8e2acd0c631ae50967de2185fc4a3ac4 Mon Sep 17 00:00:00 2001 From: Mark Henderson Date: Mon, 9 Mar 2026 11:47:41 -0700 Subject: [PATCH] fix: wire MigrateSetup repoUrl to githubRepoUrl for mirror flow Made-with: Cursor --- components/project-creation/MigrateSetup.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/components/project-creation/MigrateSetup.tsx b/components/project-creation/MigrateSetup.tsx index 5d8422e..21ee666 100644 --- a/components/project-creation/MigrateSetup.tsx +++ b/components/project-creation/MigrateSetup.tsx @@ -46,11 +46,12 @@ export function MigrateSetup({ workspace, onClose, onBack }: SetupProps) { slug: name.toLowerCase().replace(/[^a-z0-9]+/g, "-"), product: { name: name.trim() }, creationMode: "migration", + // Top-level fields the create route reads for the mirror flow + githubRepoUrl: repoUrl.trim() || undefined, + // Preserve extra metadata for future use sourceData: { - repoUrl: repoUrl.trim() || undefined, liveUrl: liveUrl.trim() || undefined, hosting: hosting || undefined, - pat: pat.trim() || undefined, }, }), });