(root: Root, props: {
targetRepo: string;
initialPaths: string[];
})
| 100 | * Original callback wiring: onSelectPath={done}, onCancel={() => done(null)}. |
| 101 | */ |
| 102 | export async function launchTeleportRepoMismatchDialog(root: Root, props: { |
| 103 | targetRepo: string; |
| 104 | initialPaths: string[]; |
| 105 | }): Promise<string | null> { |
| 106 | const { |
| 107 | TeleportRepoMismatchDialog |
| 108 | } = await import('./components/TeleportRepoMismatchDialog.js'); |
| 109 | return showSetupDialog<string | null>(root, done => <TeleportRepoMismatchDialog targetRepo={props.targetRepo} initialPaths={props.initialPaths} onSelectPath={done} onCancel={() => done(null)} />); |
| 110 | } |
| 111 | |
| 112 | /** |
| 113 | * Site ~4903: ResumeConversation mount (interactive session picker). |
no test coverage detected